Skip to content

Commit 710158f

Browse files
committed
Even fewer redundant error messages
1 parent 8ba4a7e commit 710158f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fn main() {
2323
match run(&args) {
2424
Ok(s) => println!("{}", s),
2525
Err(LocalRepoError::CommandFailed(rc)) => exit(rc.code().unwrap_or(1)),
26+
Err(LocalRepoError::NoSuchRemote(_)) => exit(2),
2627
Err(e) => {
2728
eprintln!("ghrepo: {}", e);
2829
exit(1);

0 commit comments

Comments
 (0)