Update commit.ts
This commit is contained in:
parent
5251852e85
commit
184848b5ee
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ const CommitMessageCommand: SlashCommand = {
|
|||
name: "commit",
|
||||
description: "Generate a commit message for current changes",
|
||||
run: async function* ({ ide, llm, params }) {
|
||||
const includeUnstaged = params?.includeUnstaged ?? true;
|
||||
const includeUnstaged = params?.includeUnstaged ?? false;
|
||||
const diff = await ide.getDiff(includeUnstaged);
|
||||
|
||||
if (diff.length === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue