diff --git a/intellij.tools.ide.starter/src/com/intellij/ide/starter/models/IDEStartResult.kt b/intellij.tools.ide.starter/src/com/intellij/ide/starter/models/IDEStartResult.kt index b7ea7cf6..b89865da 100644 --- a/intellij.tools.ide.starter/src/com/intellij/ide/starter/models/IDEStartResult.kt +++ b/intellij.tools.ide.starter/src/com/intellij/ide/starter/models/IDEStartResult.kt @@ -20,6 +20,11 @@ data class IDEStartResult( val mainReportAttributes get() = mapOf("execution time" to executionTime.toString()) + /** + * @return client result if run was in split mode, or receiver if we ran monolithic ide (when frontend and backend are the same) + */ + fun frontendResult(): IDEStartResult = clientResult ?: this + private fun logVmOptionDiff(vmOptionsDiff: VMOptionsDiff?) { if (vmOptionsDiff != null && !vmOptionsDiff.isEmpty) { logOutput("VMOptions were changed:")