node/lib/internal/fs
cjihrig 14ec52b949 fs: don't hard code name in validatePosition()
The name of the position being validated by validatePosition()
was not being used. Instead, the string 'position' was being
used everywhere. It worked out because the only call sites were
using the name 'position' as well.

PR-URL: https://github.com/nodejs/node/pull/44767
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2022-10-11 14:45:29 -05:00
..
cp lib: use safe Promise alternatives when available 2022-10-11 14:45:18 -05:00
dir.js lib: use null-prototype objects for property descriptors 2022-07-31 09:44:45 +02:00
promises.js fs: propagate abortsignal reason in new AbortSignal constructors 2022-08-01 16:48:37 +02:00
read_file_context.js fs: propagate abortsignal reason in new AbortSignal constructors 2022-08-01 16:48:37 +02:00
rimraf.js fs: use throwIfNoEntry option on statSync calls 2021-01-24 08:59:44 -08:00
streams.js fs: use kEmptyObject 2022-07-31 09:44:47 +02:00
sync_write_stream.js fs: use kEmptyObject 2022-07-31 09:44:47 +02:00
utils.js fs: don't hard code name in validatePosition() 2022-10-11 14:45:29 -05:00
watchers.js fs: propagate abortsignal reason in new AbortSignal constructors 2022-08-01 16:48:37 +02:00