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