Skip to content

Commit

Permalink
fs: validate recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Jul 19, 2024
1 parent f4e9f08 commit 1a7b03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ function mkdir(path, options, callback) {
} else if (options) {
if (options.recursive !== undefined) {
recursive = options.recursive;
validateBoolean(options.recursive);
validateBoolean(recursive);
}
if (options.mode !== undefined) {
mode = parseFileMode(options.mode, 'options.mode');
Expand Down

0 comments on commit 1a7b03d

Please sign in to comment.