Permalink
Please
sign in to comment.
Browse files
lib: rename validateMode to parseMode
The function did not only validate the mode but it returns a new value depending on the input. Thus `validate` did not seem to be an appropriate name. PR-URL: #26809 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information...
Showing
with
22 additions
and 22 deletions.
- +9 −9 lib/fs.js
- +5 −5 lib/internal/fs/promises.js
- +2 −2 lib/internal/process/main_thread_only.js
- +6 −6 lib/internal/validators.js
0 comments on commit
50a3fe2