forked from extern/nushell
Improve external quoting logic (#3579)
* Add tests and improve quoting logic * fmt * Fix clippy ling * Fix clippy ling
This commit is contained in:
@ -199,7 +199,6 @@ fn trim_quotes(input: &str) -> String {
|
||||
match (chars.next(), chars.next_back()) {
|
||||
(Some('\''), Some('\'')) => chars.collect(),
|
||||
(Some('"'), Some('"')) => chars.collect(),
|
||||
(Some('`'), Some('`')) => chars.collect(),
|
||||
_ => input.to_string(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user