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

Commit

Permalink
Use value true for NO_UPDATE_NOTIFIER and SNYK_CFG_DISABLESUGGESTIONS…
Browse files Browse the repository at this point in the history
… env variables

Signed-off-by: Guillaume Lours <[email protected]>
  • Loading branch information
glours committed Aug 27, 2020
1 parent 99ce224 commit 1af4562
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 1af4562

Please sign in to comment.