summaryrefslogtreecommitdiff
path: root/lib/internal/fs/streams.js
diff options
context:
space:
mode:
authorMasashi Hirano <cherrydog07@gmail.com>2018-08-23 23:29:40 +0900
committerMasashi Hirano <cherrydog07@gmail.com>2018-11-16 21:56:29 +0900
commit1e23e3ceb3217f2b0e076864fdbbe874a8603e2f (patch)
tree94d2feb16ce55cbfcef65da6ce16e9598cc04e4c /lib/internal/fs/streams.js
parent9bce68663b53dea4365445f4dfb3541a92bac1fe (diff)
downloadandroid-node-v8-1e23e3ceb3217f2b0e076864fdbbe874a8603e2f.tar.gz
android-node-v8-1e23e3ceb3217f2b0e076864fdbbe874a8603e2f.tar.bz2
android-node-v8-1e23e3ceb3217f2b0e076864fdbbe874a8603e2f.zip
fs: make process.binding('fs') internal
Refs: https://github.com/nodejs/node/issues/22160 PR-URL: https://github.com/nodejs/node/pull/22478 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Diffstat (limited to 'lib/internal/fs/streams.js')
-rw-r--r--lib/internal/fs/streams.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/fs/streams.js b/lib/internal/fs/streams.js
index 8c9ed35f81..5b23c3b472 100644
--- a/lib/internal/fs/streams.js
+++ b/lib/internal/fs/streams.js
@@ -3,7 +3,7 @@
const {
FSReqCallback,
writeBuffers
-} = process.binding('fs');
+} = internalBinding('fs');
const {
ERR_INVALID_ARG_TYPE,
ERR_OUT_OF_RANGE