mirror of
https://github.com/nushell/nushell.git
synced 2025-04-18 10:18:17 +02:00
Merge pull request #83 from jonathandturner/quoted_linux
Fix quoted strings in linux
This commit is contained in:
commit
1c983059b2
@ -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