forked from extern/nushell
Windows speaks \r
This commit is contained in:
parent
5ca9d307c6
commit
c7531d6b3d
@ -36,6 +36,7 @@ macro_rules! nu {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let _s = _s.replace("\r\n", "");
|
||||||
let $out = _s.replace("\n", "");
|
let $out = _s.replace("\n", "");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -79,4 +80,4 @@ pub fn executable_path() -> PathBuf {
|
|||||||
|
|
||||||
pub fn in_directory(str: &str) -> &str {
|
pub fn in_directory(str: &str) -> &str {
|
||||||
str
|
str
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user