mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
don't attempt to eval and record down if the repl line is empty (#6674)
This commit is contained in:
@ -452,7 +452,7 @@ pub fn evaluate_repl(
|
|||||||
span,
|
span,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
} else {
|
} else if !s.trim().is_empty() {
|
||||||
trace!("eval source: {}", s);
|
trace!("eval source: {}", s);
|
||||||
|
|
||||||
eval_source(
|
eval_source(
|
||||||
|
Reference in New Issue
Block a user