We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b9225 commit 08891faCopy full SHA for 08891fa
bin/eslint.js
@@ -23,7 +23,9 @@ function runWithTiming(name, fn) {
23
var start = new Date()
24
, rv = fn()
25
, duration = (new Date() - start) / 1000;
26
- console.error("eslint.timing." + name + ": " + duration + "s");
+ if (debug) {
27
+ console.error("eslint.timing." + name + ": " + duration + "s");
28
+ }
29
return rv;
30
}
31
0 commit comments