Skip to content

Commit 239e456

Browse files
Behcetclayreimann
authored andcommitted
Fixed: Variable leak
1 parent b28d669 commit 239e456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ try {
1616
var json = JSON.parse(
1717
fs.readFileSync("./node_modules/mocha/package.json", "utf8")
1818
);
19-
version = json.version;
19+
var version = json.version;
2020
if (version >= "6") {
2121
createStatsCollector = require("mocha/lib/stats-collector");
2222
mocha6plus = true;

0 commit comments

Comments
 (0)