Skip to content

Commit

Permalink
fix: fix spawn call
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Apr 26, 2019
1 parent 78ba476 commit 584986a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/skeleton-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function npmInstall(dir) {
info('Skeleton requires additional dependencies.');
return new Promise((resolve, reject) => {
spawn(
dir,
['npm', 'i', '--only=prod'],
'npm',
['i', '--only=prod'],
{ stdio: 'inherit', cwd: dir }
).on('close', resolve).on('error', reject);
});
Expand Down

0 comments on commit 584986a

Please sign in to comment.