Skip to content

Commit

Permalink
fix: remove unused mkdirp dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Jan 13, 2022
1 parent 6c34848 commit 69145dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"glob": "^7.1.3",
"graceful-fs": "^4.2.9",
"micromatch": "^4.0.2",
"mkdirp": "^0.5.1",
"node-gyp-build": "^4.2.2",
"node-pre-gyp": "^0.13.0",
"resolve-from": "^5.0.0",
Expand Down
4 changes: 1 addition & 3 deletions test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ const { promises, readdirSync, mkdirSync } = require('fs');
const path = require('path');
const { nodeFileTrace } = require('../out/node-file-trace');
const os = require('os');
const { promisify } = require('util');
const rimraf = require('rimraf');
const mkdirp = promisify(require('mkdirp'));
const { readFile, writeFile, readlink, symlink } = promises;
const { fork } = require('child_process');

Expand Down Expand Up @@ -39,7 +37,7 @@ for (const integrationTest of readdirSync(integrationDir)) {
catch (e) {
if (e.code !== 'EINVAL' && e.code !== 'UNKNOWN') throw e;
}
mkdirp.sync(path.dirname(outPath));
mkdirSync(path.dirname(outPath), { recursive: true });
if (symlinkPath) {
await symlink(symlinkPath, outPath);
}
Expand Down

0 comments on commit 69145dd

Please sign in to comment.