Skip to content

Commit

Permalink
chore(deps): remove mkdirp and rimraf (#143)
Browse files Browse the repository at this point in the history
* chore(deps): remove mkdirp and rimraf

* fixup: comma

---------

Co-authored-by: Gar <[email protected]>
  • Loading branch information
lukekarrys and wraithgar authored Mar 21, 2023
1 parent f40bb71 commit b101609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.12.0",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"tap": "^16.0.1"
},
"files": [
Expand Down
8 changes: 3 additions & 5 deletions test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
const fs = require('fs')
const path = require('path')
const t = require('tap')
const mkdirp = require('mkdirp')
const rimraf = require('rimraf')

const workdir = path.join(__dirname, path.basename(__filename, '.js'))
let testfiles = 0
Expand Down Expand Up @@ -73,8 +71,8 @@ function currentUser () {
}

t.test('setup', t => {
rimraf.sync(workdir)
mkdirp.sync(workdir)
fs.rmSync(workdir, { recursive: true, force: true })
fs.mkdirSync(workdir, { recursive: true })
t.end()
})

Expand Down Expand Up @@ -308,6 +306,6 @@ t.test('does not change chown by default (sync)', t => {
})

t.test('cleanup', t => {
rimraf.sync(workdir)
fs.rmSync(workdir, { recursive: true, force: true })
t.end()
})

0 comments on commit b101609

Please sign in to comment.