We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3339a commit d0e541fCopy full SHA for d0e541f
plugins/python3/Cargo.toml
@@ -13,6 +13,7 @@ serde = "1"
13
serde_json = "1"
14
thiserror = "1"
15
walkdir = "2"
16
+dunce = "1"
17
18
[dev-dependencies]
19
env_logger = "0.8"
plugins/python3/src/plugin.rs
@@ -221,9 +221,8 @@ fn run_tmc_command(
221
});
222
}
223
224
- let path = path
225
- .canonicalize()
226
- .map_err(|e| PythonError::Canonicalize(path.to_path_buf(), e))?;
+ let path =
+ dunce::canonicalize(path).map_err(|e| PythonError::Canonicalize(path.to_path_buf(), e))?;
227
log::debug!("running tmc command at {}", path.display());
228
let common_args = ["-m", "tmc"];
229
0 commit comments