Skip to content

Commit

Permalink
Merge pull request #267 from JetBrains/fix-263
Browse files Browse the repository at this point in the history
Fix session project url building
  • Loading branch information
rafaelldi authored Oct 21, 2024
2 parents f4aa79d + 5ea54c1 commit dab0d07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dab0d07

Please sign in to comment.