Skip to content

Commit

Permalink
Fix error when Skpr config is not present (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Schuch <[email protected]>
  • Loading branch information
nickschuch and nickschuch authored Jun 4, 2024
1 parent ce984ec commit aa30bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
}

config, err := skprconfig.Load()
if err != nil && !errors.Is(err, os.ErrNotExist) {
if err != nil && !errors.Is(err, skprconfig.ErrNotFound) {
panic(err)
}

Expand Down

0 comments on commit aa30bbc

Please sign in to comment.