summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-05-03 14:40:48 -0400
committercjihrig <cjihrig@gmail.com>2018-05-07 19:47:42 -0400
commit975f6c1f7077fd33db95eaeee6ccfa49e4a29348 (patch)
treeedbc5ece189e5b3747d5bb659203b55c8dafa580 /benchmark
parent0452f1152cb15db01631196e893b875332946b76 (diff)
downloadandroid-node-v8-975f6c1f7077fd33db95eaeee6ccfa49e4a29348.tar.gz
android-node-v8-975f6c1f7077fd33db95eaeee6ccfa49e4a29348.tar.bz2
android-node-v8-975f6c1f7077fd33db95eaeee6ccfa49e4a29348.zip
fs: move fs/promises to fs.promises
PR-URL: https://github.com/nodejs/node/pull/20504 Refs: https://github.com/nodejs/TSC/issues/389 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/fs/bench-stat-promise.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/fs/bench-stat-promise.js b/benchmark/fs/bench-stat-promise.js
index b031745572..96c7058fa6 100644
--- a/benchmark/fs/bench-stat-promise.js
+++ b/benchmark/fs/bench-stat-promise.js
@@ -1,7 +1,7 @@
'use strict';
const common = require('../common');
-const fsPromises = require('fs/promises');
+const fsPromises = require('fs').promises;
const bench = common.createBenchmark(main, {
n: [20e4],