From 24d216feb836e112219a91d6a6ee4bd95a918446 Mon Sep 17 00:00:00 2001 From: Narasimha Prasanna HN Date: Sat, 21 Nov 2020 07:09:21 +0530 Subject: [PATCH] benchmark : changed `fstat` to `fstatSync` --- benchmark/fs/bench-statSync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/fs/bench-statSync.js b/benchmark/fs/bench-statSync.js index 0c9366a402cb71..e75d6603fcfc64 100644 --- a/benchmark/fs/bench-statSync.js +++ b/benchmark/fs/bench-statSync.js @@ -21,6 +21,6 @@ function main({ n, statSyncType }) { } bench.end(n); - if (statSyncType === 'fstat') + if (statSyncType === 'fstatSync') fs.closeSync(arg); }