diff options
Diffstat (limited to 'benchmark/module')
-rw-r--r-- | benchmark/module/module-loader.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmark/module/module-loader.js b/benchmark/module/module-loader.js index 17948604c7..8c31f36522 100644 --- a/benchmark/module/module-loader.js +++ b/benchmark/module/module-loader.js @@ -2,7 +2,6 @@ var fs = require('fs'); var path = require('path'); var common = require('../common.js'); -var packageJson = '{"main": "index.js"}'; var tmpDirectory = path.join(__dirname, '..', 'tmp'); var benchmarkDirectory = path.join(tmpDirectory, 'nodejs-benchmark-module'); @@ -39,7 +38,7 @@ function rmrf(location) { var things = fs.readdirSync(location); things.forEach(function(thing) { var cur = path.join(location, thing), - isDirectory = fs.statSync(cur).isDirectory(); + isDirectory = fs.statSync(cur).isDirectory(); if (isDirectory) { rmrf(cur); return; |