From d3c458cec6512472f249aad3df1f5074e4c6cfe6 Mon Sep 17 00:00:00 2001 From: Aparajith24 Date: Sun, 23 Aug 2026 08:56:35 +0530 Subject: [PATCH 1/2] docs: fix tmpfile('f2.txt') example output filename The example output for tmpfile('f2.txt') incorrectly showed foo.txt instead of f2.txt, which didn't match the input filename. Fixes #1469 --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index b69b0f3027..043c77301c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -328,7 +328,7 @@ Temp file factory. ```js f1 = tmpfile() // /os/based/tmp/zx-1ra1iofojgg -f2 = tmpfile('f2.txt') // /os/based/tmp/zx-1ra1iofojgg/foo.txt +f2 = tmpfile('f2.txt') // /os/based/tmp/zx-1ra1iofojgg/f2.txt f3 = tmpfile('f3.txt', 'string or buffer') f4 = tmpfile('f4.sh', 'echo "foo"', 0o744) // executable ``` From 1126038fe91557f46fa7a3d7a120e2459970eb35 Mon Sep 17 00:00:00 2001 From: Aparajith24 Date: Sun, 23 Aug 2026 09:16:29 +0530 Subject: [PATCH 2/2] trigger CLA check