Skip to content

Commit d5152b3

Browse files
aduh95atlowChemi
andauthored
Update test/sequential/test-fs-path-dir.js
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
1 parent c926b48 commit d5152b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-fs-path-dir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function checkPromiseFn(promiseFn, p, args, fail) {
7777
console.log(failMsg, err);
7878
throw err;
7979
});
80-
r?.close();
80+
r?.close?.();
8181
} else {
8282
assert.rejects(
8383
promiseFn(p, ...args), {

0 commit comments

Comments
 (0)