mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 22:39:37 +00:00
feat: add dcrup (sh/ps1/cmd) and fix cross-platform unit tests
This commit is contained in:
@@ -950,7 +950,8 @@ fn absolutize_flag_path(flag: &str, project_root: &Path, prefixes: &[&str]) -> S
|
||||
return flag.to_string();
|
||||
}
|
||||
let abs = project_root.join(rest);
|
||||
return format!("{prefix}{}", abs.to_string_lossy());
|
||||
let path = abs.to_string_lossy().replace('\\', "/");
|
||||
return format!("{prefix}{path}");
|
||||
}
|
||||
}
|
||||
flag.to_string()
|
||||
|
||||
Reference in New Issue
Block a user