Skip to content

Commit 68dbf76

Browse files
committed
fix: update commitTemplate.ts
1 parent 76cfa18 commit 68dbf76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/commitTemplate.ts

+1-1
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)