Skip to content

Commit

Permalink
fix(lint): remove extra whitespace in exec command
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Goller <[email protected]>
  • Loading branch information
goller committed Aug 1, 2023
1 parent 44fc2c5 commit e635dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/buildx/commands/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func RunHadolint(ctx context.Context, client *client.Client, platform ocispecs.P
}

func RunSemgrep(ctx context.Context, client *client.Client, platform ocispecs.Platform, dockerfile *build.DockerfileInputs) (CaptureOutput, error) {
args := []string{"/usr/local/bin/semgrep", "scan", "--config=p/dockerfile", "--json", "--quiet", " --disable-version-check", dockerfile.Filename}
args := []string{"/usr/local/bin/semgrep", "scan", "--config=p/dockerfile", "--json", "--quiet", "--disable-version-check", dockerfile.Filename}
return RunImage(ctx, Semgrep, args, client, platform, dockerfile)
}

Expand Down

0 comments on commit e635dce

Please sign in to comment.