Skip to content

Commit 759b131

Browse files
committed
path.resolve => resolveApp
1 parent a0197df commit 759b131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/paths.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ module.exports = {
115115
};
116116

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

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

0 commit comments

Comments
 (0)