Skip to content

Commit 29c195e

Browse files
ZYSzystargos
authored andcommitted
fs: remove useless internalFS
PR-URL: #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>
1 parent 5d2e064 commit 29c195e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/fs.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const {
5252
} = errors.codes;
5353

5454
const { FSReqCallback, statValues } = binding;
55-
const internalFS = require('internal/fs/utils');
5655
const { toPathIfFileURL } = require('internal/url');
5756
const internalUtil = require('internal/util');
5857
const {
@@ -72,7 +71,7 @@ const {
7271
validateOffsetLengthRead,
7372
validateOffsetLengthWrite,
7473
validatePath
75-
} = internalFS;
74+
} = require('internal/fs/utils');
7675
const {
7776
CHAR_FORWARD_SLASH,
7877
CHAR_BACKWARD_SLASH,

0 commit comments

Comments
 (0)