Skip to content

Commit

Permalink
Fix broken scan output
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Sep 12, 2024
1 parent 3652cf5 commit 9b06fde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/cmd/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ If the given path contains a git repository all flags but "integration" will be
PreRun: func(cmd *cobra.Command, _ []string) {
_ = viper.BindPFlags(cmd.Flags())
},
RunE: func(cmd *cobra.Command, args []string) error {

Check failure on line 71 in internal/cmd/scan/scan.go

View workflow job for this annotation

GitHub Actions / Lint

File is not `gofmt`-ed with `-s` (gofmt)
return RunE(&scanner)(cmd, args)
},
}
cmd.Flags().StringVarP(&repositoryName, RepositoryFlag, "r", "", "repository name")
cmd.Flags().StringVarP(&commitName, CommitFlag, "c", "", "commit hash")
Expand Down

0 comments on commit 9b06fde

Please sign in to comment.