Skip to content

Commit 774c1cf

Browse files
Jungku Leeruyadorno
Jungku Lee
authored andcommitted
doc: add missing function call to example for util.promisify
PR-URL: #49719 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Deokjin Kim <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent fe78a34 commit 774c1cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/util.md

+2
Original file line numberDiff line numberDiff line change
@@ -1635,6 +1635,8 @@ async function callStat() {
16351635
const stats = await stat('.');
16361636
console.log(`This directory is owned by ${stats.uid}`);
16371637
}
1638+
1639+
callStat();
16381640
```
16391641
16401642
If there is an `original[util.promisify.custom]` property present, `promisify`

0 commit comments

Comments
 (0)