Skip to content

Commit db6f21c

Browse files
committed
update autofill.ts
1 parent 506100f commit db6f21c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/autofill.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import * as vscode from "vscode";
55
import { Repository } from "./api/git";
66
import { getChanges } from "./git/cli";
7+
import { getCommitTemplateValue } from "./git/commitTemplate";
78
import { getCommitMsg, setCommitMsg } from "./gitExtension";
89
import { generateMsg } from "./prepareCommitMsg";
910

@@ -39,5 +40,8 @@ export async function makeAndFillCommitMsg(repository: Repository) {
3940
const newMsg = generateMsg(fileChanges, oldMsg);
4041
console.debug("New message: ", newMsg);
4142

43+
const commitMessageValue = await getCommitTemplateValue()
44+
console.debug({ commitMessageValue })
45+
4246
setCommitMsg(repository, newMsg);
4347
}

0 commit comments

Comments
 (0)