Skip to content

Commit

Permalink
fix: Bad rmdir
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Feb 27, 2024
1 parent c0dd219 commit 3a3ffea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function installCrossDeps(done) {
}
// List installed deps for fparchive
const packageLocation = 'node_modules/' + packageName;
const badPackages = fs.readdirSync('node_modules/@fparchive/', { withFileTypes: true }).filter(m => m.isDirectory() && m.name !== 'flashpoint-archive' && ('@fparchive/' + m.name) !== packageName);
const badPackages = fs.readdirSync('./node_modules/@fparchive/', { withFileTypes: true }).filter(m => m.isDirectory() && m.name !== 'flashpoint-archive' && ('@fparchive/' + m.name) !== packageName);

// Remove old packages
for (const bp of badPackages) {
Expand Down

0 comments on commit 3a3ffea

Please sign in to comment.