We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.readdir
"."
1.0.23
Window 10
import fs from "node:fs/promises"; import path from "node:path"; const filePathAbs = "C:\\Downloads\\bun-windows-x64"; console.log(path.resolve(filePathAbs)); console.log(await fs.readdir(filePathAbs)); const filePathRel = "."; console.log(path.resolve(filePathRel)); console.log(await fs.readdir(filePathRel));
C:\Downloads\bun-windows-x64 [ ".idea", "bun.exe", "x.mjs" ] C:\Downloads\bun-windows-x64 [ ".idea", "bun.exe", "x.mjs" ]
C:\Downloads\bun-windows-x64 [ ".idea", "bun.exe", "x.mjs" ] C:\Downloads\bun-windows-x64 ENOENT: No such file or directory errno: -2 syscall: "open" path: "."
No response
The text was updated successfully, but these errors were encountered:
Seems, it was fixed.
Sorry, something went wrong.
No branches or pull requests
What version of Bun is running?
1.0.23
What platform is your computer?
Window 10
What steps can reproduce the bug?
What is the expected behavior?
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: