From 1c5dbe7081d81988e6874b8966c20d1e66fd8902 Mon Sep 17 00:00:00 2001 From: franktip Date: Mon, 23 Dec 2024 16:49:50 -0500 Subject: [PATCH] fix type error --- src/util/code-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/code-utils.ts b/src/util/code-utils.ts index 0eaafed..6fd729f 100644 --- a/src/util/code-utils.ts +++ b/src/util/code-utils.ts @@ -151,7 +151,7 @@ export function getEnv(name: string, enforce: boolean = true): string { console.error(`Please set the ${name} environment variable.`); process.exit(1); } - return value; + return value as string; } export function isDeclaration(compl: string): boolean {