Skip to content

Commit 7d77e14

Browse files
committed
fix: update commitTemplate.ts
1 parent 47ca759 commit 7d77e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/commitTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function _readFile(filePath: string) {
7676

7777
try {
7878
value = fs.readFileSync(p, "utf-8");
79-
} catch (err) {
79+
} catch (err: any) {
8080
console.error(`Could not find template file: ${p}. ${err.toString()}`);
8181

8282
return null;

0 commit comments

Comments
 (0)