Skip to content

Commit

Permalink
try yarn.cmd explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Nov 19, 2017
1 parent 51dc554 commit 1332a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/eject.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function adjustPackages(cwd, packages, append, dev) {
let status, output;
if (fs.existsSync(paths.yarnLockFile)) {
({ status, output } = spawnSync(
process.platform === 'win32' ? 'yarnpkg.cmd' : 'yarnpkg',
process.platform === 'win32' ? 'yarn.cmd' : 'yarnpkg',
[append ? 'add' : 'remove', ...packages],
{
stdio: 'pipe',
Expand Down

0 comments on commit 1332a19

Please sign in to comment.