Skip to content

Commit

Permalink
fix: removed jest commas
Browse files Browse the repository at this point in the history
  • Loading branch information
sshivaditya committed Oct 17, 2024
1 parent 1edbd21 commit b417cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/handlers/ask-llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function askQuestion(context: Context, question: string) {
repo: context.payload.repository.name,
});
const formattedChat = await formatChatHistory(context, streamlinedComments, specAndBodies);
context.logger.info(`${formattedChat}`);
context.logger.info(`${formattedChat.join("")}`);
return await askGpt(context, question, formattedChat);
}

Expand Down
4 changes: 2 additions & 2 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe("Ask plugin tests", () => {
2 ubiquity: ${TEST_QUESTION} [#1](https://www.github.com/ubiquity/test-repo/issues/1)
=== End Current Issue #1 Conversation ===
,=== Linked Issue #2 Specification === ubiquity/test-repo/2 ===
=== Linked Issue #2 Specification === ubiquity/test-repo/2 ===
Related to issue #3
=== End Linked Issue #2 Specification ===
Expand All @@ -155,7 +155,7 @@ describe("Ask plugin tests", () => {
3 ubiquity: ${ISSUE_ID_3_CONTENT} [#3](https://www.github.com/ubiquity/test-repo/issues/3)
=== End Linked Issue #2 Conversation ===
,=== Linked Issue #3 Specification === ubiquity/test-repo/3 ===
=== Linked Issue #3 Specification === ubiquity/test-repo/3 ===
Just another issue
=== End Linked Issue #3 Specification ===
Expand Down

0 comments on commit b417cd5

Please sign in to comment.