Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Jan 9, 2025
1 parent f774c89 commit 26b425d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/gitcommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ func GitAuditCmd(c *components.Context) error {
format, err := outputFormat.GetOutputFormat(c.GetStringFlagValue(flags.OutputFormat))
if err != nil {
return err
}

}
gitAuditCmd.SetOutputFormat(format).SetIncludeLicenses(c.GetBoolFlagValue(flags.Licenses)).SetFailBuild(c.GetBoolFlagValue(flags.Fail))
// Run the command with progress bar if needed, Reporting error if Xsc service is enabled
return reportErrorIfExists(xrayVersion, xscVersion, serverDetails, progressbar.ExecWithProgress(gitAuditCmd))
Expand Down

0 comments on commit 26b425d

Please sign in to comment.