We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f9b5df commit 3ba6dfeCopy full SHA for 3ba6dfe
packages/react-scripts/scripts/eject.js
@@ -87,8 +87,8 @@ prompt(
87
// Remove dead code from .applescript files on eject
88
.replace(/-- @remove-on-eject-begin([\s\S]*?)-- @remove-on-eject-end/mg, '')
89
.trim() + '\n';
90
- console.log(' Adding ' + cyan(file) + ' to the project');
91
- fs.writeFileSync(path.join(appPath, file), content);
+ console.log(' Adding ' + cyan(file.replace(ownPath, '')) + ' to the project');
+ fs.writeFileSync(file.replace(ownPath, appPath), content);
92
});
93
console.log();
94
0 commit comments