Skip to content

Commit 47ab6d0

Browse files
committed
Minor cleanup
1 parent 3554745 commit 47ab6d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/coverage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
const Fs = require('fs');
1111
const Path = require('path');
1212
const Espree = require('espree');
13-
const SourceMapSupport = require('source-map-support');
1413
const SourceMapConsumer = require('source-map').SourceMapConsumer;
14+
const SourceMapSupport = require('source-map-support');
1515
const Transform = require('./transform');
1616

1717

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

348-
// Acorm remove comment delimiters, so start and end lines must never be considered blank if they content is
348+
// Acorn removes comment delimiters, so start and end lines must never be considered blank if they content is
349349
if (i === start || i === end || !blank.test(internals.sources[filename][i - 1])) {
350350
commented++;
351351
}

lib/runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
// Load modules
44

5+
// 'cluster' loaded below in internals.loadLazyObjects()
56
const Domain = require('domain');
67
const Items = require('items');
78
const Hoek = require('hoek');

0 commit comments

Comments
 (0)