Skip to content

Commit

Permalink
Fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed Apr 30, 2019
1 parent ade861d commit 30213c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ prog

const installSpinner = ora(Messages.installing(deps)).start();
try {
await execa(getInstallArgs(getInstallCmd(), deps));
const cmd = getInstallCmd();
await execa(cmd, getInstallArgs(getInstallCmd(), deps));
installSpinner.succeed('Installed dependecines');
console.log(Messages.start(pkg));
} catch (error) {
Expand Down

0 comments on commit 30213c5

Please sign in to comment.