Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Do not raise error if in green
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 28, 2023
1 parent 82dbc90 commit ad5564e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/nixpkgs-url/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ $ nixpkgs-url -version`
}
last, err := nixurl.GetLastVersion()
if err != nil {
bumpCmd.Usage()
log.Fatalf("Getting the last version has been failed: %s", err.Error())
}
if err = nixurl.Bump(path, last); err != nil {
bumpCmd.Usage()
log.Fatalf("Bumping the version has been failed: %s", err.Error())
}

bumpCmd.Usage()
default:
flag.Usage()

Expand Down

0 comments on commit ad5564e

Please sign in to comment.