summaryrefslogtreecommitdiffstats
path: root/bench/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'bench/index.js')
-rw-r--r--bench/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/index.js b/bench/index.js
index 462b046..3e357e5 100644
--- a/bench/index.js
+++ b/bench/index.js
@@ -2,7 +2,7 @@ var fs = require('fs');
var metrics = fs.readdirSync(__dirname);
metrics.forEach(function(metric) {
- if (metric === 'index.js' || !/(.*)\.js$/.test(metric)) {
+ if (metric === 'index.js' || !(/(.*)\.js$/.test(metric))) {
return;
}