Skip to content

Commit 09cac74

Browse files
author
Benjamin Coe
committed
remove del dependency
1 parent 7d41ab3 commit 09cac74

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

build-tests.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
var fs = require('fs')
44
var path = require('path')
5-
var del = require('del')
5+
var rimraf = require('rimraf')
66
var mkdirp = require('mkdirp')
77
var forkingTap = require('forking-tap')
88
var zeroFill = require('zero-fill')
99
var sanitizeFilename = require('sanitize-filename')
1010

1111
// Delete previous files.
1212
process.chdir(__dirname)
13-
del.sync(['test/build'])
13+
rimraf.sync('test/build')
1414
mkdirp.sync(path.join(__dirname, 'test/build'))
1515

1616
var testDir = path.join(__dirname, 'test/src')

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
"any-path": "^1.3.0",
8686
"chai": "^3.0.0",
8787
"coveralls": "^2.11.4",
88-
"del": "^2.2.0",
8988
"forking-tap": "^0.1.1",
9089
"is-windows": "^0.1.0",
9190
"lodash": "^3.10.0",

test/src/nyc-test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,7 @@ describe('nyc', function () {
456456

457457
var proc = spawn(process.execPath, args, {
458458
cwd: fixtures,
459-
env: {},
460-
stdio: 'inherit'
459+
env: {}
461460
})
462461

463462
proc.on('close', function (code) {

0 commit comments

Comments
 (0)