1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-16 06:15:07 +02:00

Fix quoted strings in linux

This commit is contained in:
Jonathan Turner
2019-06-05 14:27:53 +12:00
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),