Do not break Zed & Zed CLI compatibility
This commit is contained in:
parent
628558aa39
commit
106064c734
4 changed files with 41 additions and 13 deletions
|
@ -79,10 +79,11 @@ fn main() -> Result<()> {
|
|||
.paths_with_position
|
||||
.into_iter()
|
||||
.map(|path_with_position| {
|
||||
path_with_position.convert_path(|path| {
|
||||
let path_with_position = path_with_position.convert_path(|path| {
|
||||
fs::canonicalize(&path)
|
||||
.with_context(|| format!("path {path:?} canonicalization"))
|
||||
})
|
||||
})?;
|
||||
Ok(path_with_position.to_string(|path| path.display().to_string()))
|
||||
})
|
||||
.collect::<Result<_>>()?,
|
||||
wait: args.wait,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue