diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-03-11 10:19:47 +0000 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-04-02 14:20:05 +0200 |
commit | 5583d4d73ef750b27c9068ea0f05fae0de9f7766 (patch) | |
tree | 6139258d8a6f58609e25ef9a3bbdf25fc2b6df9b /lib | |
parent | 82bf240ebad4d19a3c00aa4a80a3738e3d9a83aa (diff) | |
download | android-node-v8-5583d4d73ef750b27c9068ea0f05fae0de9f7766.tar.gz android-node-v8-5583d4d73ef750b27c9068ea0f05fae0de9f7766.tar.bz2 android-node-v8-5583d4d73ef750b27c9068ea0f05fae0de9f7766.zip |
fs: remove experimental warning for fs.promises
This has been warning for long enough, without any API changes
in the last few months.
PR-URL: https://github.com/nodejs/node/pull/26581
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fs.js | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1930,13 +1930,10 @@ Object.defineProperties(fs, { }, promises: { configurable: true, - enumerable: false, + enumerable: true, get() { - if (promises === null) { + if (promises === null) promises = require('internal/fs/promises'); - process.emitWarning('The fs.promises API is experimental', - 'ExperimentalWarning'); - } return promises; } } |