Skip to content

Commit

Permalink
fix: correctly use yarn when it is present
Browse files Browse the repository at this point in the history
Now importing execSync from child_process correctly.

closes #11
  • Loading branch information
juancarlosfarah committed Feb 6, 2019
1 parent b39fb75 commit 03be56c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ cypress
# exclude coverage
/coverage
.nyc_output

# exclude directories used to test command outputs
/output
2 changes: 1 addition & 1 deletion src/initStarter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'path';
import execSync from 'child_process';
import { execSync } from 'child_process';
import execa from 'execa';
import fs from 'fs-extra';
import HostedGitInfo from 'hosted-git-info';
Expand Down

0 comments on commit 03be56c

Please sign in to comment.