Skip to content

Commit

Permalink
doc: add missing function call to example for util.promisify
Browse files Browse the repository at this point in the history
PR-URL: nodejs#49719
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
Jungku Lee authored Sep 21, 2023
1 parent 05ebb8e commit fa74158
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,8 @@ async function callStat() {
const stats = await stat('.');
console.log(`This directory is owned by ${stats.uid}`);
}

callStat();
```
If there is an `original[util.promisify.custom]` property present, `promisify`
Expand Down

0 comments on commit fa74158

Please sign in to comment.