Skip to content

Commit

Permalink
feat: 更新analysis-tool-sdk-golang版本到v0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Jul 11, 2023
1 parent 35d8a18 commit bc2f852
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion trivy/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/TencentBlueKing/ci-repoAnalysis/trivy

go 1.20

require github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.15
require github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.18
4 changes: 2 additions & 2 deletions trivy/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.15 h1:+Ytj6MbRvf9QflKrnCfYqdtyUi1Ff1UNS7tt9TGAT8w=
github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.15/go.mod h1:8fgb+y0YWqULX/oVg4dsWAq6ftsVZfFrXQjCKXwAE1Q=
github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.18 h1:rX6zJTJD99IX8noGXNisjQ/4CSMYdI8BbDN7SDckudg=
github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.18/go.mod h1:AXra//9jqgUGWl41/a0jL1vj5xG9Hw201KPYdfePmsw=
2 changes: 1 addition & 1 deletion trivy/pkg/scan_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func execTrivy(fileName string, offline bool, config *object.ToolConfig) error {
args = append(args, constant.FlagSecretConfig, constant.SecretRuleFilePath)
}

if err := util.ExecAndLog(constant.CmdTrivy, args); err != nil {
if err := util.ExecAndLog(constant.CmdTrivy, args, ""); err != nil {
return err
}
return nil
Expand Down

0 comments on commit bc2f852

Please sign in to comment.