Skip to content

Commit 3ab2e86

Browse files
committed
--no-bin-links options added
1 parent 312d2ed commit 3ab2e86

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/create-react-app/createReactApp.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,8 @@ function createApp(name, verbose, version, useNpm, binLinks, template) {
186186
path.join(root, 'package.json'),
187187
JSON.stringify(packageJson, null, 2) + os.EOL
188188
);
189-
console.log(`what are we using?: ${useNpm}`);
190-
const useYarn = false;
191-
//const useYarn = useNpm ? false : shouldUseYarn(root);
189+
190+
const useYarn = useNpm ? false : shouldUseYarn(root);
192191
const originalDirectory = process.cwd();
193192
process.chdir(root);
194193
if (!useYarn && !checkThatNpmCanReadCwd()) {
@@ -288,7 +287,6 @@ function install(root, useYarn, dependencies, verbose, binLinks, isOnline) {
288287
}
289288

290289
if (binLinks === false) {
291-
console.log(`ya got links?: ${binLinks}`);
292290
args.push('--no-bin-links');
293291
}
294292

0 commit comments

Comments
 (0)