Skip to content

Commit

Permalink
chore: Unpin test-exclude, update to latest pre-releases (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell authored Dec 9, 2019
1 parent f3c9e6c commit 6039f29
Show file tree
Hide file tree
Showing 5 changed files with 997 additions and 805 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const onExit = require('signal-exit')
const path = require('path')
const rimraf = promisify(require('rimraf'))
const SourceMaps = require('./lib/source-maps')
const testExclude = require('test-exclude')
const TestExclude = require('test-exclude')
const pMap = require('p-map')

const debugLog = debuglog('nyc')
Expand Down Expand Up @@ -64,7 +64,7 @@ class NYC {
.map(ext => ext.toLowerCase())
.filter((item, pos, arr) => arr.indexOf(item) === pos)

this.exclude = testExclude({
this.exclude = new TestExclude({
cwd: this.cwd,
include: config.include,
exclude: config.exclude,
Expand Down
Loading

0 comments on commit 6039f29

Please sign in to comment.