We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da548c commit 934c4f7Copy full SHA for 934c4f7
scripts/patch-package.js
@@ -30,7 +30,7 @@ function visitPackageJSON(folderPath)
30
for (var i in files) {
31
let name = files[i];
32
let filePath = path.join(folderPath, files[i]);
33
- if(fs.statSync(filePath).isDirectory()) {
+ if (fs.lstatSync(filePath).isDirectory()) {
34
visitPackageJSON(filePath);
35
} else {
36
if (name === 'package.json') {
0 commit comments