Skip to content

Commit a3daf6e

Browse files
committed
Fix formatting
- once commit message is generated, 'go back' incorrectly shows actions, not configurations └── apps └── editor └── src ├── commands │ └── generate-commit-message-commands │ ├── actions │ │ ├── get-prompt-data.ts │ │ └── run-generate-action.ts │ ├── generate-commit-message-commands.ts │ ├── index.ts │ └── utils │ ├── build-commit-message-prompt.ts │ ├── generate-commit-message-with-api.ts │ ├── get-commit-message-config.ts │ └── strip-wrapping-quotes.ts └── utils └── git-repository-utils.ts
1 parent 7e564eb commit a3daf6e

30 files changed

Lines changed: 11207 additions & 5009 deletions

File tree

‎apps/browser/src/background/message-handler.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,7 @@ const process_next_chat = async () => {
118118

119119
let tab_reused = false
120120

121-
if (
122-
last_opened_tab_id !== undefined &&
123-
is_finished_responding
124-
) {
121+
if (last_opened_tab_id !== undefined && is_finished_responding) {
125122
try {
126123
const tab = await browser.tabs.get(last_opened_tab_id)
127124
if (tab.active) {

‎apps/editor/src/commands/apply-response-command/apply-response-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const apply_response_command = (params: {
9696
)
9797
return
9898
}
99-
} else if (!response) {
99+
} else if (!response) {
100100
vscode.window.showErrorMessage(
101101
t('command.apply-response.error.response-missing')
102102
)

‎apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/commit-message-parser/commit-message-parser.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export const parse_commit_message = (
1515
}
1616
}
1717
return null
18-
}
18+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './commit-message-parser'
1+
export * from './commit-message-parser'

‎apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/commit-message-parser/test/commit-message-parser.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ describe('commit-message-parser', () => {
4747
})
4848
})
4949
})
50-
})
50+
})

0 commit comments

Comments
 (0)