diff --git a/CHANGELOG.md b/CHANGELOG.md index 61cfe10f..14c0fde7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ## [Unreleased] +### Fixed + +- [#263](https://github.com/JetBrains/aspire-plugin/issues/263) Opening invalid project url + ## [1.5.0] - 2024-10-01 ### Added diff --git a/gradle.properties b/gradle.properties index 36ebfef6..eeb507a5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = me.rafaelldi.aspire pluginName = aspire-plugin pluginRepositoryUrl = https://github.com/JetBrains/aspire-plugin # SemVer format -> https://semver.org -pluginVersion = 1.5.0 +pluginVersion = 1.5.1 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 242 diff --git a/src/main/kotlin/com/jetbrains/rider/aspire/sessionHost/SessionExecutableFactory.kt b/src/main/kotlin/com/jetbrains/rider/aspire/sessionHost/SessionExecutableFactory.kt index ac94c46e..486196f3 100644 --- a/src/main/kotlin/com/jetbrains/rider/aspire/sessionHost/SessionExecutableFactory.kt +++ b/src/main/kotlin/com/jetbrains/rider/aspire/sessionHost/SessionExecutableFactory.kt @@ -288,8 +288,8 @@ class SessionExecutableFactory(private val project: Project) { ) val parameterProcessor = ExecutableParameterProcessor.getInstance(project) val processedParams = parameterProcessor.processStrings(params, projectOptions) - val launchUrl = processedParams[applicationUrlKey] - val applicationUrl = processedParams[launchUrlKey]?.split(';')?.firstOrNull() + val launchUrl = processedParams[launchUrlKey] + val applicationUrl = processedParams[applicationUrlKey]?.split(';')?.firstOrNull() val browserUrl = concatUrl(applicationUrl, launchUrl) val webBrowser = hostRunConfiguration?.parameters?.startBrowserParameters?.browser