Fix bug where panic occurs when no arguments passed

This commit is contained in:
Elara 2021-06-04 10:57:41 -07:00
parent e843ea02e4
commit bb19d2131d

View File

@ -79,6 +79,7 @@ fn main() {
.spawn() .spawn()
.log_err("Error running git command"); .log_err("Error running git command");
exit_if_code_nonzero(&mut proc); exit_if_code_nonzero(&mut proc);
exit(0);
} }
// Ensure options exists in config, otherwise set to default // Ensure options exists in config, otherwise set to default