Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoffer Åström committed Nov 7, 2017
1 parent d115e0f commit a49bced
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cdp/instrument.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ function transform(filePath, coverage) {
}

module.exports = function instrument(files, exclude, coverage, coverageExclude) {
const shouldInstrument = url => (coverage ? coverageExclude.shouldInstrument(url) : exclude.shouldInstrument(url));
const shouldInstrument = url => (coverage ?
coverageExclude.shouldInstrument(url) :
exclude.shouldInstrument(url));

return async (ctx, next) => {
await next();
Expand Down

0 comments on commit a49bced

Please sign in to comment.