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: #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
pluris authored and ruyadorno committed Sep 28, 2023
1 parent fe78a34 commit 774c1cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/util.md
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 774c1cf

Please sign in to comment.