Skip to content

Commit a90acc4

Browse files
authored
Update lib/internal/fs/promises.js
1 parent 4416836 commit a90acc4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/fs/promises.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ class FileHandle extends EventEmitter {
297297
autoClose = false,
298298
} = options;
299299

300-
validateString(type, 'options.type');
301300
validateBoolean(autoClose, 'options.autoClose');
302301

303302
if (type !== 'bytes') {

0 commit comments

Comments
 (0)