Skip to content

Commit

Permalink
Ignore test-regex failures for Travis's benefit
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 19, 2019
1 parent 80d59fa commit caab378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const defaultFiles = options => new Promise((res, rej) => {
const files = []
finder.on('file', addFile(files))
finder.on('end', () => res(files))
finder.on('error', er => rej(er))
finder.on('error', /* istanbul ignore next */ er => rej(er))
})
}))).then(a => res(a.reduce((a, i) => a.concat(i), []))).catch(rej)
})
Expand Down Expand Up @@ -139,7 +139,7 @@ const main = async options => {
try {
if (options._.length === 0 && isTTY)
options._.push.apply(options._, await defaultFiles(options))
} catch (er) {
} /* istanbul ignore next */ catch (er) /* istanbul ignore next */ {
// This gets tested on Mac, but not Linux/travis, and is
// somewhat challenging to do in a cross-platform way.
/* istanbul ignore next */
Expand Down

0 comments on commit caab378

Please sign in to comment.