You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The base path to which all CLI arguments are relative to.
133
138
let cli_base_path = {
134
139
let cwd = std::env::current_dir().context("Failed to get the current working directory")?;
135
-
SystemPathBuf::from_path_buf(cwd).map_err(|path| anyhow!("The current working directory '{}' contains non-unicode characters. Red Knot only supports unicode paths.", path.display()))?
140
+
SystemPathBuf::from_path_buf(cwd)
141
+
.map_err(|path| {
142
+
anyhow!(
143
+
"The current working directory '{}' contains non-unicode characters. Red Knot only supports unicode paths.",
144
+
path.display()
145
+
)
146
+
})?
136
147
};
137
148
138
149
let cwd = current_directory
@@ -308,7 +319,9 @@ impl MainLoop {
308
319
tracing::error!("{}", diagnostic);
309
320
}
310
321
}else{
311
-
tracing::debug!("Discarding check result for outdated revision: current: {revision}, result revision: {check_revision}");
322
+
tracing::debug!(
323
+
"Discarding check result for outdated revision: current: {revision}, result revision: {check_revision}"
0 commit comments