mirror of
https://github.com/nushell/nushell.git
synced 2025-04-25 05:38:20 +02:00
Fix wrong path separator (#3829)
This commit is contained in:
parent
0f9e55dac6
commit
e514204db0
@ -15,9 +15,9 @@ pub const NATIVE_PATH_ENV_VAR: &str = "Path";
|
|||||||
pub const NATIVE_PATH_ENV_VAR: &str = "PATH";
|
pub const NATIVE_PATH_ENV_VAR: &str = "PATH";
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
pub const NATIVE_PATH_ENV_SEPARATOR: char = ':';
|
|
||||||
#[cfg(not(windows))]
|
|
||||||
pub const NATIVE_PATH_ENV_SEPARATOR: char = ';';
|
pub const NATIVE_PATH_ENV_SEPARATOR: char = ';';
|
||||||
|
#[cfg(not(windows))]
|
||||||
|
pub const NATIVE_PATH_ENV_SEPARATOR: char = ':';
|
||||||
|
|
||||||
impl Outcome {
|
impl Outcome {
|
||||||
pub fn new(out: String, err: String) -> Outcome {
|
pub fn new(out: String, err: String) -> Outcome {
|
||||||
|
Loading…
Reference in New Issue
Block a user