mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Fix quoted strings in linux
This commit is contained in:
parent
02e6ee6991
commit
8cb77034f3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue