Skip to content

Commit

Permalink
Added suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
QW3RAT committed Jan 17, 2024
1 parent fe5cb36 commit 02a5a39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ abstract class BasePitestExecutor {
log.debug("BasePitestExecutor: executeTask: processTerminated: event: $event")
messagingServer.stopServer() // Stop the UDP server
// update tool window with latest result data
val toolWindow: ToolWindow? = ToolWindowManager.getInstance(project).getToolWindow("Pitest")
val toolWindow: ToolWindow? = ToolWindowManager.getInstance(project).getToolWindow(ToolWindowFactory.ID)
// safe and get latest pitest results and update report toolWindow with it
val coverageReport = project.service<MutationResultService>().updateLastMutationResult()?.coverageReports?.first()
if (toolWindow != null) {
Expand Down

0 comments on commit 02a5a39

Please sign in to comment.