Skip to content

Commit 26ef83c

Browse files
author
Evan Sharp
committed
Move filename declaration
Fix #6
1 parent 7733b92 commit 26ef83c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
var fs = require('fs')
2-
, filename = 'mocha.json';
1+
var fs = require('fs');
32

43
var fE;
54

65
var bambooReporter = function (baseReporterDecorator, config, formatError) {
76
fE = formatError;
87
baseReporterDecorator(this);
98

10-
filename = config && config.filename || filename;
9+
var filename = config && config.filename || 'mocha.json';
1110

1211
var results = {
1312
time: 0, tests: [], failures: [], passes: [], skips: []

0 commit comments

Comments
 (0)