mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-10 21:36:43 +01:00
Replace std::fs::canonicalize with dunce::canonicalize (#858)
Closes #830 by going back to non-UNC paths on windows sample.bat: ``` echo Hello world ``` `cargo run -r -- .\sample.bat` now runs as expected. Added the same version of dunce as in `ignore-files/Cargo.toml`
This commit is contained in:
parent
2cc7743677
commit
08367c6db7
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -4085,6 +4085,7 @@ dependencies = [
|
||||
"console-subscriber",
|
||||
"dashmap",
|
||||
"dirs 5.0.1",
|
||||
"dunce",
|
||||
"embed-resource",
|
||||
"eyra",
|
||||
"futures",
|
||||
|
@ -29,6 +29,7 @@ clap_mangen = "0.2.15"
|
||||
clearscreen = "3.0.0"
|
||||
dashmap = "5.4.0"
|
||||
dirs = "5.0.0"
|
||||
dunce = "1.0.4"
|
||||
futures = "0.3.29"
|
||||
humantime = "2.1.0"
|
||||
indexmap = "2.2.6" # needs to be in sync with jaq's
|
||||
|
@ -1,13 +1,14 @@
|
||||
use std::{
|
||||
collections::BTreeSet,
|
||||
ffi::{OsStr, OsString},
|
||||
fs::canonicalize,
|
||||
mem::take,
|
||||
path::{Path, PathBuf},
|
||||
str::FromStr,
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use dunce::canonicalize;
|
||||
|
||||
use clap::{
|
||||
builder::TypedValueParser, error::ErrorKind, Arg, Command, CommandFactory, Parser, ValueEnum,
|
||||
ValueHint,
|
||||
|
Loading…
Reference in New Issue
Block a user