Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
geek committed Mar 11, 2017
1 parent 3554745 commit 47ab6d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
const Fs = require('fs');
const Path = require('path');
const Espree = require('espree');
const SourceMapSupport = require('source-map-support');
const SourceMapConsumer = require('source-map').SourceMapConsumer;
const SourceMapSupport = require('source-map-support');
const Transform = require('./transform');


Expand Down Expand Up @@ -345,7 +345,7 @@ internals.instrument = function (filename) {
if ((!nodesByLine[i] || !nodesByLine[i].find((type) => type !== 'Line' && type !== 'Block')) && !record.commentedLines[i]) {
record.commentedLines[i] = true;

// Acorm remove comment delimiters, so start and end lines must never be considered blank if they content is
// Acorn removes comment delimiters, so start and end lines must never be considered blank if they content is
if (i === start || i === end || !blank.test(internals.sources[filename][i - 1])) {
commented++;
}
Expand Down
1 change: 1 addition & 0 deletions lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// Load modules

// 'cluster' loaded below in internals.loadLazyObjects()
const Domain = require('domain');
const Items = require('items');
const Hoek = require('hoek');
Expand Down

0 comments on commit 47ab6d0

Please sign in to comment.