Merge pull request #87 from nushell/lines_no_trim

Lines shouldn't trim
This commit is contained in:
JT 2021-10-03 11:00:04 +13:00 committed by GitHub
commit 2b5cc63118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ impl Command for Lines {
.filter_map(|s| {
if !s.is_empty() {
Some(Value::String {
val: s.trim().into(),
val: s.into(),
span,
})
} else {