Skip to content

Commit 888f667

Browse files
committed
setuid may be a string
1 parent 16cee69 commit 888f667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ This feature is not available in [`Worker`][] threads.
16911691
<!-- YAML
16921692
added: v0.1.28
16931693
-->
1694-
* `id` {integer}
1694+
* `id` {integer | string}
16951695

16961696
The `process.setuid(id)` method sets the user identity of the process. (See
16971697
setuid(2).) The `id` can be passed as either a numeric ID or a username string.

0 commit comments

Comments
 (0)