Skip to content

Commit

Permalink
update autofill.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin committed Oct 9, 2021
1 parent 7904735 commit 7e1ec0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/autofill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import * as vscode from "vscode";
import { Repository } from "./api/git";
import { getChanges } from "./git/cli";
import { getCommitTemplateValue } from "./git/commitTemplate";
import { getCommitMsg, setCommitMsg } from "./gitExtension";
import { generateMsg } from "./prepareCommitMsg";

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

const commitMessageValue = await getCommitTemplateValue()
console.debug({ commitMessageValue })

setCommitMsg(repository, newMsg);
}

0 comments on commit 7e1ec0d

Please sign in to comment.