Skip to content

Commit

Permalink
path.resolve => resolveApp
Browse files Browse the repository at this point in the history
  • Loading branch information
tuchk4 committed Mar 6, 2017
1 parent a0197df commit 759b131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
};

var ownPackageJson = require('../package.json');
var reactScriptsPath = path.resolve(`node_modules/${ownPackageJson.name}`);
var reactScriptsPath = resolveApp(`node_modules/${ownPackageJson.name}`);
var reactScriptsLinked = fs.existsSync(reactScriptsPath) && fs.lstatSync(reactScriptsPath).isSymbolicLink();

// config before publish: we're in ./packages/react-scripts/config/
Expand Down

0 comments on commit 759b131

Please sign in to comment.