mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 08:36:10 +02:00
* to nuon: fix needs_quotes() Also, null now serialises as null instead of $nothing. * Clippy * Add missing quote * Remove two unnecessary characters * Add short datetime tests * Make regex simplificatified * Alphabetise 'use' statements * Improve perf by putting case-insensitive cases in regex * Fix 1 test
This commit is contained in:
@ -85,6 +85,7 @@ impl Command for FromNuon {
|
||||
|
||||
let mut error = None;
|
||||
|
||||
// Most of the 'work' in converting from Nuon is simply pushing it through the Nu parser.
|
||||
let (lexed, err) = nu_parser::lex(string_input.as_bytes(), 0, &[b'\n', b'\r'], &[], true);
|
||||
error = error.or(err);
|
||||
|
||||
|
Reference in New Issue
Block a user