Skip to content

Commit

Permalink
[Squash] nit
Browse files Browse the repository at this point in the history
Co-authored-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
jasnell and RaisinTen committed Feb 25, 2021
1 parent e2a9d63 commit f16603a
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 @@ -496,7 +496,7 @@ function open(path, flags, mode, callback) {
function openSync(path, flags, mode) {
path = getValidatedPath(path);
const flagsNumber = stringToFlags(flags);
validateInt32(flagsNumber, flags);
validateInt32(flagsNumber, 'flags');
mode = parseFileMode(mode, 'mode', 0o666);

const ctx = { path };
Expand Down

0 comments on commit f16603a

Please sign in to comment.