polish repl (#17)

* add less daunting panic message on release builds
This commit is contained in:
Chance 2024-12-21 14:35:55 -05:00 committed by BitSyndicate
parent 40769ec693
commit c57e5c2d49
17 changed files with 405 additions and 106 deletions

View file

@ -161,10 +161,10 @@ pub fn evaluate_command(input: &str) -> anyhow::Result<()> {
} else {
None
};
match COMMAND_MANAGER.read().execute(cmd_name, args) {
Ok(_) => continue,
Err(e) => return Err(e)
}
match COMMAND_MANAGER.read().execute(cmd_name, args) {
Ok(_) => continue,
Err(e) => return Err(e),
}
}
Ok(())
}