Skip to content

Commit

Permalink
Fix logrus call
Browse files Browse the repository at this point in the history
  • Loading branch information
mcastorina committed Feb 14, 2023
1 parent a7b4510 commit 2c51263
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 @@ -245,7 +245,7 @@ func run(state overseer.State) {
case githubScan.FullCommand():
filter, err := common.FilterFromFiles(*githubScanIncludePaths, *githubScanExcludePaths)
if err != nil {
logrus.WithError(err).Fatal("could not create filter")
logFatal(err, "could not create filter")
}
if len(*githubScanOrgs) == 0 && len(*githubScanRepos) == 0 {
logFatal(fmt.Errorf("invalid config"), "You must specify at least one organization or repository.")
Expand Down

0 comments on commit 2c51263

Please sign in to comment.