Skip to content

Commit 665441b

Browse files
authored
Fix interactive shell exiting on parser errors (#282)
1 parent 72201e7 commit 665441b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/shell/src/execute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub async fn execute_inner(
2222
stderr.write_all(format!("Filename: {:?}\n", filename).as_bytes())?;
2323
}
2424
stderr.write_all(format!("Syntax error: {:?}", e).as_bytes())?;
25-
return Ok(ExecuteResult::Exit(1, vec![], vec![]));
25+
return Ok(ExecuteResult::Continue(1, vec![], vec![]));
2626
}
2727
};
2828

0 commit comments

Comments
 (0)