diff options
author | Masashi Hirano <cherrydog07@gmail.com> | 2018-08-23 17:29:40 +0300 |
---|---|---|
committer | Masashi Hirano <cherrydog07@gmail.com> | 2018-11-16 15:56:29 +0300 |
commit | 1e23e3ceb3217f2b0e076864fdbbe874a8603e2f (patch) | |
tree | 94d2feb16ce55cbfcef65da6ce16e9598cc04e4c /lib/internal/net.js | |
parent | 9bce68663b53dea4365445f4dfb3541a92bac1fe (diff) |
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/net.js')
-rw-r--r-- | lib/internal/net.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/net.js b/lib/internal/net.js index d2b097573b9..e8b67ed0fd3 100644 --- a/lib/internal/net.js +++ b/lib/internal/net.js @@ -1,7 +1,7 @@ 'use strict'; const Buffer = require('buffer').Buffer; -const { writeBuffer } = process.binding('fs'); +const { writeBuffer } = internalBinding('fs'); const errors = require('internal/errors'); // IPv4 Segment |