Skip to content

Commit

Permalink
Test another unlikely solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Finlay committed Feb 21, 2019
1 parent 5af7f97 commit 68edea3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -255,7 +255,7 @@ NYC.prototype.walkAllFiles = function (dir, visitor) {
)
const filesLessExcludes = glob.sync(sourceGlob, { cwd: dir, nodir: true, ignore: this.exclude.exclude })

const allFiles = filesLessExcludes.concat(unExcludeFiles)
const allFiles = unExcludeFiles.concat(filesLessExcludes)
const uniqFiles = arrayUniq(allFiles)

return uniqFiles.forEach(visitor)
Expand Down
1 change: 0 additions & 1 deletion test/nyc-bin.js
Expand Up @@ -117,7 +117,6 @@ describe('the nyc cli', function () {

proc.on('close', code => {
code.should.equal(0)
console.log(`stdout: ${stdout}`)
stdout.should.not.match(/excluded\.js/)
stdout.should.match(/exclude-negated\.js/)
done()
Expand Down

0 comments on commit 68edea3

Please sign in to comment.