Skip to content

Commit

Permalink
fix: apply ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Artiukhov committed Sep 27, 2024
1 parent 8e99071 commit 6beec89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ class LLMWithFeedbackCycle(

// test suite must not be provided upon failed execution
if (executionResult != FeedbackCycleExecutionResult.OK &&
executionResult != FeedbackCycleExecutionResult.NO_COMPILABLE_TEST_CASES_GENERATED) {
executionResult != FeedbackCycleExecutionResult.NO_COMPILABLE_TEST_CASES_GENERATED
) {
generatedTestSuite = null
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ class LLMProcessManager(
FeedbackCycleExecutionResult.NO_COMPILABLE_TEST_CASES_GENERATED -> {
if (feedbackResponse.generatedTestSuite != null) {
llmErrorManager.warningProcess(LLMMessagesBundle.get("noCompilableTestCases"), project)
}
else {
} else {
llmErrorManager.errorProcess(LLMMessagesBundle.get("invalidLLMResult"), project, errorMonitor)
}
}
Expand Down

0 comments on commit 6beec89

Please sign in to comment.