forked from extern/nushell
Fix quoted strings in linux
This commit is contained in:
parent
02e6ee6991
commit
8cb77034f3
@ -400,7 +400,7 @@ impl Leaf {
|
|||||||
|
|
||||||
fn as_external_arg(&self) -> String {
|
fn as_external_arg(&self) -> String {
|
||||||
match self {
|
match self {
|
||||||
Leaf::String(s) => format!("{}", s),
|
Leaf::String(s) => format!("\"{}\"", s),
|
||||||
Leaf::Bare(path) => format!("{}", path.to_string()),
|
Leaf::Bare(path) => format!("{}", path.to_string()),
|
||||||
Leaf::Boolean(b) => format!("{}", b),
|
Leaf::Boolean(b) => format!("{}", b),
|
||||||
Leaf::Int(i) => format!("{}", i),
|
Leaf::Int(i) => format!("{}", i),
|
||||||
|
Loading…
Reference in New Issue
Block a user