Skip to content

Commit

Permalink
chore: removing del for node rm
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccready committed Sep 13, 2024
1 parent 0510f70 commit 28a7002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"commitlint": "19",
"config": "^3.2.2",
"coveralls": "^3.0.4",
"del": "^7.1.0",
"hook-std": "0.X",
"jest": "^29.7.0",
"prettier": "^1.18.2",
Expand Down
4 changes: 2 additions & 2 deletions test/publish.test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const os = require('os');
const del = require('del');

const { exec } = require('child_process');
const { rm } = require('fs/promises');

const isWindows = os.platform() === 'win32';

const cleanUp = async () => {
return del(['./tmp']);
return rm('./tmp', { recursive: true, force: true });
};

function makeTestPackage(cb) {
Expand Down

0 comments on commit 28a7002

Please sign in to comment.