Windows speaks \r

This commit is contained in:
Andrés N. Robalino 2019-07-16 05:53:19 -05:00
parent 5ca9d307c6
commit c7531d6b3d

View file

@ -36,6 +36,7 @@ macro_rules! nu {
}
}
let _s = _s.replace("\r\n", "");
let $out = _s.replace("\n", "");
};
}
@ -79,4 +80,4 @@ pub fn executable_path() -> PathBuf {
pub fn in_directory(str: &str) -> &str {
str
}
}