mirror of
https://github.com/nushell/nushell.git
synced 2025-04-29 23:54:26 +02:00
don't attempt to eval and record down if the repl line is empty (#6674)
This commit is contained in:
parent
7910d20e50
commit
118033e4a5
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user