Replace process::exit(1) with proper error propagation #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
crates/presentation/src/lib.rslines 59 and 245:std::process::exit(1)is called directly, which skips destructors andDropimplementations.For the check mode (line 59) and
run_diff(line 245), return anErrinstead — the function return types are alreadyResult<()>.