mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Fix links to package (#3898)
This commit is contained in:
committed by
Dan Abramov
parent
db9d0ab89b
commit
25184c4e91
2
packages/react-scripts/scripts/eject.js
vendored
2
packages/react-scripts/scripts/eject.js
vendored
@@ -245,7 +245,7 @@ inquirer
|
||||
);
|
||||
let windowsCmdFileContent;
|
||||
if (process.platform === 'win32') {
|
||||
// https://github.com/facebookincubator/create-react-app/pull/3806#issuecomment-357781035
|
||||
// https://github.com/facebook/create-react-app/pull/3806#issuecomment-357781035
|
||||
// Yarn is diligent about cleaning up after itself, but this causes the react-scripts.cmd file
|
||||
// to be deleted while it is running. This trips Windows up after the eject completes.
|
||||
// We'll read the batch file and later "write it back" to match npm behavior.
|
||||
|
||||
Reference in New Issue
Block a user