Skip to content

Commit 59d7df9

Browse files
committed
fix(ci): replace Deno 2.3.0 with 2.1.4 to avoid fs.close() bug
Deno 2.3.0 has a known bug where fs.close() requires a callback even though it should be optional according to Node.js documentation. This causes test failures with "TypeError: callback is not a function" errors. Using Deno 2.1.4 as the minimum tested version instead, while keeping 2.x for testing with the latest version. See: denoland/deno#30718
1 parent 1d9552e commit 59d7df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- macos-latest
7070
- ubuntu-latest
7171
deno_version:
72-
- "2.3.0"
72+
- "2.1.4" # Use 2.1.4 instead of 2.3.0 which has fs.close() bug
7373
- "2.x"
7474
host_version:
7575
- vim: "v9.1.1646"

0 commit comments

Comments
 (0)