Skip to content

Commit

Permalink
Disable GAS false +ve
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomorain committed Jul 4, 2018
1 parent 707ce2f commit 94662bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func updateBuildAgentToLatest(cmd *cobra.Command, args []string) error {

func findLatestPicardSha() (string, error) {

outputBytes, err := exec.Command("docker", "pull", picardRepo).CombinedOutput()
outputBytes, err := exec.Command("docker", "pull", picardRepo).CombinedOutput() // #nosec

if err != nil {
return "", errors.Wrap(err, "failed to pull latest docker image")
Expand Down Expand Up @@ -183,7 +183,7 @@ func runBuild(cmd *cobra.Command, args []string) error {
return errors.Wrap(err, "Could not find a `docker` executable on $PATH; please ensure that docker installed")
}

if err = syscall.Exec(dockerPath, arguments, os.Environ()); err != nil {
if err = syscall.Exec(dockerPath, arguments, os.Environ()); err != nil { // #nosec
return errors.Wrap(err, "failed to execute docker")
}

Expand Down

0 comments on commit 94662bd

Please sign in to comment.