diff options
author | cjihrig <cjihrig@gmail.com> | 2018-05-03 14:40:48 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-05-07 19:47:42 -0400 |
commit | 975f6c1f7077fd33db95eaeee6ccfa49e4a29348 (patch) | |
tree | edbc5ece189e5b3747d5bb659203b55c8dafa580 /test/sequential/test-async-wrap-getasyncid.js | |
parent | 0452f1152cb15db01631196e893b875332946b76 (diff) | |
download | android-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 'test/sequential/test-async-wrap-getasyncid.js')
-rw-r--r-- | test/sequential/test-async-wrap-getasyncid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-async-wrap-getasyncid.js b/test/sequential/test-async-wrap-getasyncid.js index 64c4fd5cd8..971296915c 100644 --- a/test/sequential/test-async-wrap-getasyncid.js +++ b/test/sequential/test-async-wrap-getasyncid.js @@ -3,7 +3,7 @@ const common = require('../common'); const assert = require('assert'); const fs = require('fs'); -const fsPromises = require('fs/promises'); +const fsPromises = fs.promises; const net = require('net'); const providers = Object.assign({}, process.binding('async_wrap').Providers); const fixtures = require('../common/fixtures'); |