Skip to content

Commit

Permalink
Fix broken scan output (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy authored Sep 12, 2024
1 parent 3652cf5 commit b9c8c85
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 {
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 b9c8c85

Please sign in to comment.