Skip to content

Commit

Permalink
Add --scripts-prepend-node-path=true to npm args (heroku#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ransom Briggs authored Apr 11, 2017
1 parent 614a805 commit 708990c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions npm.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func (p *Plugins) npmCmd(args ...string) (*exec.Cmd, error) {
}
args = append(args, "--loglevel="+level)
}
args = append(args, "--scripts-prepend-node-path=true")
cmd := exec.Command(nodeBinPath(), args...)
cmd.Dir = p.Path
cmd.Env = p.environ()
Expand Down

0 comments on commit 708990c

Please sign in to comment.