Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #113 from docker/change_env_variable_values
Browse files Browse the repository at this point in the history
Use value true for NO_UPDATE_NOTIFIER and SNYK_CFG_DISABLESUGGESTIONS…
  • Loading branch information
glours authored Aug 27, 2020
2 parents 99ce224 + 1af4562 commit 1e69e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/snyk.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (s *snykProvider) Version() (string, error) {

func (s *snykProvider) newCommand(arg ...string) *exec.Cmd {
cmd := exec.CommandContext(s.context, s.path, arg...)
cmd.Env = append(os.Environ(), "NO_UPDATE_NOTIFIER=1", "SNYK_CFG_DISABLESUGGESTIONS=1")
cmd.Env = append(os.Environ(), "NO_UPDATE_NOTIFIER=true", "SNYK_CFG_DISABLESUGGESTIONS=true")
return cmd
}

Expand Down

0 comments on commit 1e69e70

Please sign in to comment.