chore(deps): bump paths-slash (#1462)
This commit is contained in:
parent
841b75430e
commit
958e0902a0
|
@ -2589,9 +2589,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "path-slash"
|
name = "path-slash"
|
||||||
version = "0.1.5"
|
version = "0.2.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "498a099351efa4becc6a19c72aa9270598e8fd274ca47052e37455241c88b696"
|
checksum = "c54014ba3c1880122928735226f78b6f5bf5bd1fed15e41e92cf7aa20278ce28"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pbkdf2"
|
name = "pbkdf2"
|
||||||
|
|
|
@ -38,7 +38,7 @@ dunce = "1.0.2"
|
||||||
solang-parser = { default-features = false, version = "=0.1.16" }
|
solang-parser = { default-features = false, version = "=0.1.16" }
|
||||||
rayon = "1.5.3"
|
rayon = "1.5.3"
|
||||||
rand = { version = "0.8.5", optional = true }
|
rand = { version = "0.8.5", optional = true }
|
||||||
path-slash = "0.1.5"
|
path-slash = "0.2.0"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
|
|
|
@ -488,9 +488,9 @@ impl<T: ArtifactOutput> Project<T> {
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|(path, source)| {
|
.map(|(path, source)| {
|
||||||
let path: PathBuf = if let Ok(stripped) = path.strip_prefix(root) {
|
let path: PathBuf = if let Ok(stripped) = path.strip_prefix(root) {
|
||||||
stripped.to_slash_lossy().into()
|
stripped.to_slash_lossy().into_owned().into()
|
||||||
} else {
|
} else {
|
||||||
path.to_slash_lossy().into()
|
path.to_slash_lossy().into_owned().into()
|
||||||
};
|
};
|
||||||
(path, source.clone())
|
(path, source.clone())
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue