Skip to content

Commit 16b52cc

Browse files
committed
chore: update type
1 parent ea1a8c6 commit 16b52cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ async function detectOutput(
3535
async function fileExists(filePath: string): Promise<boolean> {
3636
try {
3737
await fs.access(filePath, constants.F_OK);
38-
} catch (_err) {
38+
} catch (error) {
39+
console.error(`[vscode-pynsist] ${(error as Error).message}`);
3940
return false;
4041
}
4142

0 commit comments

Comments
 (0)