Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aab18d0

Browse files
committedDec 17, 2015
doc: update 0022 to 0o022 in process.markdown
Per @cjihrig's suggestion
1 parent bae6728 commit aab18d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎doc/api/process.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ Sets or reads the process's file mode creation mask. Child processes inherit
909909
the mask from the parent process. Returns the old mask if `mask` argument is
910910
given, otherwise returns the current mask.
911911

912-
const newmask = 0022;
912+
const newmask = 0o022;
913913
const oldmask = process.umask(newmask);
914914
console.log(
915915
`Changed umask from ${oldmask.toString(8)} to ${newmask.toString(8)}`

0 commit comments

Comments
 (0)
Please sign in to comment.