-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: include the optional options parameter #7842
Conversation
In the fs docs there's already instances of this with
Does it make sense to go for consistency and do the same here? |
This generally LGTM but aligning with the other instances for consistency would be good. |
`mkdtemp` functions accept an optional `options` parameter, which can be either a String specifying encoding, or an Object with an `encoding` property.
106c5cd
to
51705a1
Compare
@claudiorodriguez Updated the PR, with your suggestion. PTAL. |
LGTM with the updates! |
ping @claudiorodriguez ... does this LGTY now? |
Sorry, LGTM |
`mkdtemp` functions accept an optional `options` parameter, which can be either a String specifying encoding, or an Object with an `encoding` property. PR-URL: #7842 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
Landed in 6e50fc7 |
`mkdtemp` functions accept an optional `options` parameter, which can be either a String specifying encoding, or an Object with an `encoding` property. PR-URL: nodejs#7842 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
`mkdtemp` functions accept an optional `options` parameter, which can be either a String specifying encoding, or an Object with an `encoding` property. PR-URL: #7842 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
Checklist
Affected core subsystem(s)
doc
Description of change
mkdtemp
family accepts an optionaloptions
parameter, which ismissing in the documentation.
cc @nodejs/documentation