Skip to content

docs(api): fix tmpfile() example shows wrong output filename - #1504

Open
Mr-Vishal-Ranjan wants to merge 1 commit into
google:mainfrom
Mr-Vishal-Ranjan:tmpfile-example-output
Open

docs(api): fix tmpfile() example shows wrong output filename#1504
Mr-Vishal-Ranjan wants to merge 1 commit into
google:mainfrom
Mr-Vishal-Ranjan:tmpfile-example-output

Conversation

@Mr-Vishal-Ranjan

Copy link
Copy Markdown

Fixes #1469

The tmpfile('f2.txt') example in the API docs had a copy-paste error —
the comment showed foo.txt as the output filename instead of f2.txt.

Before:

f2 = tmpfile('f2.txt')  // /os/based/tmp/zx-1ra1iofojgg/foo.txt

After:

f2 = tmpfile('f2.txt')  // /os/based/tmp/zx-1ra1iofojgg/f2.txt
  • Setup Set the latest Node.js LTS version.
  • Build: I’ve run npm build before committing and verified the bundle updates correctly.
  • Tests: I’ve run test and confirmed all tests succeed. Added tests to cover my changes if needed.
  • Docs: I’ve added or updated relevant documentation as needed.
  • Sign Commits have verified signatures and follow conventinal commits spec
  • CoC: My changes follow the project’s coding guidelines and Code of Conduct.
  • Review: This PR represents original work and is not solely generated by AI tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(api): tmpfile('f2.txt') example shows wrong output filename (foo.txt)

1 participant