Skip to content

doc: fix fsPromises.watch overflow value#64605

Open
mradbourne wants to merge 1 commit into
nodejs:mainfrom
mradbourne:fix-fs-watch-overflow-docs
Open

doc: fix fsPromises.watch overflow value#64605
mradbourne wants to merge 1 commit into
nodejs:mainfrom
mradbourne:fix-fs-watch-overflow-docs

Conversation

@mradbourne

Copy link
Copy Markdown

Updates the fsPromises.watch overflow option description to use 'error' instead of 'throw', which matches the implementation.

Currently the overflow option for this function can be either 'ignore' or 'error', however the documentation specifies 'throw' instead of 'error'. This PR brings the docs in-line with the current behaviour.

Relevant to the docs for v26, v25, v24, v22.

Updates the fsPromises.watch overflow option description to use 'error'
instead of 'throw', which matches the implementation.

Signed-off-by: Matt Radbourne <1254508+mradbourne@users.noreply.github.com>
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants