Skip to content

Commit 1332a19

Browse files
committed
try yarn.cmd explicitly
1 parent 51dc554 commit 1332a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/eject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function adjustPackages(cwd, packages, append, dev) {
4848
let status, output;
4949
if (fs.existsSync(paths.yarnLockFile)) {
5050
({ status, output } = spawnSync(
51-
process.platform === 'win32' ? 'yarnpkg.cmd' : 'yarnpkg',
51+
process.platform === 'win32' ? 'yarn.cmd' : 'yarnpkg',
5252
[append ? 'add' : 'remove', ...packages],
5353
{
5454
stdio: 'pipe',

0 commit comments

Comments
 (0)