Skip to content

Commit 06bf4f6

Browse files
jbedardalan-agius4
andauthored
Update tests/legacy-cli/e2e/utils/utils.ts
Co-authored-by: Alan Agius <[email protected]>
1 parent b722bfa commit 06bf4f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/legacy-cli/e2e/utils/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ export function wait(msecs: number): Promise<void> {
2323
});
2424
}
2525

26-
export async function mktempd(prefix: string) {
27-
return await realpath(await mkdtemp(path.join(tmpdir(), prefix)));
26+
export async function mktempd(prefix: string): Promise<string> {
27+
return realpath(await mkdtemp(path.join(tmpdir(), prefix)));
2828
}

0 commit comments

Comments
 (0)