summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZYSzys <17367077526@163.com>2018-12-21 16:07:22 +0800
committerLuigi Pinca <luigipinca@gmail.com>2019-02-09 17:34:28 +0100
commit3681ddd96744e46f12e11e3d5154ab4070e7290c (patch)
tree8141ba21a71eace72578a91385af78f77c5ea8ab /lib
parent2fc759b9b847f5a4beebe7a0ac1616530a919c50 (diff)
downloadandroid-node-v8-3681ddd96744e46f12e11e3d5154ab4070e7290c.tar.gz
android-node-v8-3681ddd96744e46f12e11e3d5154ab4070e7290c.tar.bz2
android-node-v8-3681ddd96744e46f12e11e3d5154ab4070e7290c.zip
fs: remove useless internalFS
PR-URL: https://github.com/nodejs/node/pull/25161 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/fs.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fs.js b/lib/fs.js
index a5fadf6aeb..dfa94b8da6 100644
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -52,7 +52,6 @@ const {
} = errors.codes;
const { FSReqCallback, statValues } = binding;
-const internalFS = require('internal/fs/utils');
const { toPathIfFileURL } = require('internal/url');
const internalUtil = require('internal/util');
const {
@@ -72,7 +71,7 @@ const {
validateOffsetLengthRead,
validateOffsetLengthWrite,
validatePath
-} = internalFS;
+} = require('internal/fs/utils');
const {
CHAR_FORWARD_SLASH,
CHAR_BACKWARD_SLASH,