Skip to content

Commit 4fcedb5

Browse files
committed
chore: fix tests
1 parent 1c646b3 commit 4fcedb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/node-unsafe-imports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ try {
2525
readlineMethod = require('readline');
2626
isUtf8Method = require('buffer').isUtf8;
2727
resolveMethod = require('path').resolve;
28-
readFileMethod = require('fs').readFile;
28+
readFileMethod = require('fs/promises').readFile;
2929
} catch {}
3030

3131
export {

0 commit comments

Comments
 (0)