Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 8b6a844

Browse files
committed
refactor: remove redundant catch block error variable
1 parent 7719139 commit 8b6a844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/common/engine/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function exists(path: fs.PathLike): Promise<boolean> {
1717
await access(path, fs.constants.F_OK);
1818

1919
return true;
20-
} catch (error) {
20+
} catch {
2121
return false;
2222
}
2323
}

0 commit comments

Comments
 (0)