From 774c1cfd528c3d51eeafb8da53f1324bff57a6d9 Mon Sep 17 00:00:00 2001 From: Jungku Lee Date: Thu, 21 Sep 2023 23:59:33 +0900 Subject: [PATCH] doc: add missing function call to example for `util.promisify` PR-URL: https://github.com/nodejs/node/pull/49719 Reviewed-By: Moshe Atlow Reviewed-By: Deokjin Kim Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- doc/api/util.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/util.md b/doc/api/util.md index 8939844760e409..47c48783764a5e 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -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`