diff options
Diffstat (limited to 'perf/benchmark.js')
-rwxr-xr-x | perf/benchmark.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perf/benchmark.js b/perf/benchmark.js index 42f400a..393464f 100755 --- a/perf/benchmark.js +++ b/perf/benchmark.js @@ -213,8 +213,7 @@ function cloneVersion(tag, callback) { fs.open(versionDir + "/package.json", "r", function (err, handle) { if (!err) { // version has already been cloned - fs.close(handle); - return callback(); + return fs.close(handle, callback); } var repoPath = path.join(__dirname, ".."); |