summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_chown_test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-11-24 09:31:10 +1100
committerGitHub <noreply@github.com>2020-11-24 09:31:10 +1100
commit276f5297556097461e0b63f2b958d825c1c857ab (patch)
treec4146607a4646968d03ef804ec573133b2547553 /std/node/_fs/_fs_chown_test.ts
parent266925d772527c9ba5fbc094e67cade31fc35a47 (diff)
feat(cli): update to TypeScript 4.1 (#7573)
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();