Skip to content

Commit 03be56c

Browse files
fix: correctly use yarn when it is present
Now importing execSync from child_process correctly. closes #11
1 parent b39fb75 commit 03be56c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ cypress
3838
# exclude coverage
3939
/coverage
4040
.nyc_output
41+
42+
# exclude directories used to test command outputs
43+
/output

src/initStarter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import path from 'path';
2-
import execSync from 'child_process';
2+
import { execSync } from 'child_process';
33
import execa from 'execa';
44
import fs from 'fs-extra';
55
import HostedGitInfo from 'hosted-git-info';

0 commit comments

Comments
 (0)