repl: Don't run empty code submission (#14598)
Closes #14565. Release Notes: - N/A
This commit is contained in:
1 parent
ba9fb2c8ee
commit
959433d36c
1 file changed
+4
@@ -284,6 +284,10 @@ impl Session {
|
||||
return;
|
||||
};
|
||||
|
||||
if code.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
let execute_request = ExecuteRequest {
|
||||
code: code.to_string(),
|
||||
..ExecuteRequest::default()
|
||||
|
||||
Reference in new issue
Block a user