Skip to content

Commit

Permalink
Fix eject bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 4, 2017
1 parent 0f9b5df commit 3ba6dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/scripts/eject.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ prompt(
// Remove dead code from .applescript files on eject
.replace(/-- @remove-on-eject-begin([\s\S]*?)-- @remove-on-eject-end/mg, '')
.trim() + '\n';
console.log(' Adding ' + cyan(file) + ' to the project');
fs.writeFileSync(path.join(appPath, file), content);
console.log(' Adding ' + cyan(file.replace(ownPath, '')) + ' to the project');
fs.writeFileSync(file.replace(ownPath, appPath), content);
});
console.log();

Expand Down

0 comments on commit 3ba6dfe

Please sign in to comment.