setuid and setgid accept string as a parameter. #469

Merged
merged 2 commits into from Apr 12, 2013

Projects

None yet

2 participants

@AntonAM
Contributor
AntonAM commented Apr 9, 2013

Both process.setuid and process.setgid can accept either a numerical ID or a username\groupname string.

@AntonAM AntonAM setuid and setgid accept string as a parameter.
Both process.setuid and process.setgid can accept either a numerical ID or a username\groupname string.
f9a66f3
@borisyankov

Instead of replacing 'number' with 'any' we should add a 'string' version overload.

@AntonAM AntonAM Added overloaded version of setgid and setuid.
Instead of making argument's type 'any' we have overloaded version for number and string parameters.
fd01ace
@AntonAM
Contributor
AntonAM commented Apr 10, 2013

You're right, my bad.
Done.

@borisyankov borisyankov merged commit 90f81c0 into DefinitelyTyped:master Apr 12, 2013

1 check failed

default The Travis build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment