Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
git: git repos with prepare scripts always install with both dev and …
Browse files Browse the repository at this point in the history
…prod flags (#17060)

Fixes: #17059
PR-URL: #17060
Credit: @intellix
Reviewed-By: @zkat
Reviewed-By: @iarna
  • Loading branch information
intellix authored and zkat committed Jun 29, 2017
1 parent 69e2522 commit 6627d89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pack.js
Expand Up @@ -163,6 +163,8 @@ function packGitDep (manifest, dir) {
const child = cp.spawn(process.env.NODE || process.execPath, [
require.main.filename,
'install',
'--dev',
'--prod',
'--ignore-prepublish',
'--no-progress',
'--no-save'
Expand Down

0 comments on commit 6627d89

Please sign in to comment.