repl: Don't run empty code submission (#14598)
Closes #14565. Release Notes: - N/A
This commit is contained in:
parent
0c6105992c
commit
f612c40bee
1 changed files with 4 additions and 0 deletions
|
@ -284,6 +284,10 @@ impl Session {
|
|||
return;
|
||||
};
|
||||
|
||||
if code.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
let execute_request = ExecuteRequest {
|
||||
code: code.to_string(),
|
||||
..ExecuteRequest::default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue