summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_chown_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/_fs/_fs_chown_test.ts')
-rw-r--r--std/node/_fs/_fs_chown_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/_fs/_fs_chown_test.ts b/std/node/_fs/_fs_chown_test.ts
index b053a7584..e3f39553c 100644
--- a/std/node/_fs/_fs_chown_test.ts
+++ b/std/node/_fs/_fs_chown_test.ts
@@ -13,7 +13,7 @@ Deno.test({
const tempFile: string = await Deno.makeTempFile();
const originalUserId: number | null = (await Deno.lstat(tempFile)).uid;
const originalGroupId: number | null = (await Deno.lstat(tempFile)).gid;
- await new Promise((resolve, reject) => {
+ await new Promise<void>((resolve, reject) => {
chown(tempFile, originalUserId!, originalGroupId!, (err) => {
if (err) reject(err);
else resolve();