Skip to content

Corrected an invalid name in the code-block for the Web/API/FileSyste…#43667

Merged
wbamberg merged 1 commit intomdn:mainfrom
gchang12:invalid-name-in-fsdirhandle
Apr 5, 2026
Merged

Corrected an invalid name in the code-block for the Web/API/FileSyste…#43667
wbamberg merged 1 commit intomdn:mainfrom
gchang12:invalid-name-in-fsdirhandle

Conversation

@gchang12
Copy link
Copy Markdown
Contributor

@gchang12 gchang12 commented Apr 4, 2026

…mDirectoryHandle section.

Description

I appended an 's' to the relativePath variable in Line 12 of the code-block in the 'Return file path' section of the Web/API/FileSystemDirectoryHandle article.

Motivation

A user copying the code-block will be thrown a ReferenceError.

Additional details

Related issues and pull requests

Fixes #43666

@gchang12 gchang12 requested a review from a team as a code owner April 4, 2026 20:56
@gchang12 gchang12 requested review from chrisdavidmills and removed request for a team April 4, 2026 20:56
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Apr 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

Preview URLs (1 page)

Copy link
Copy Markdown
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you!

@wbamberg wbamberg merged commit 3163adb into mdn:main Apr 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid name in FSDirHandle section needs correcting.

3 participants