Skip to content

Commit

Permalink
Fix run configuration creation with an empty profile list
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelldi committed Jan 10, 2025
1 parent c710666 commit 82b908f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class FunctionRunConfigurationType : ConfigurationTypeBase(

for (runnableProject in functionProjects) {
val profiles = service.loadLaunchSettingsSuspend(runnableProject)?.profiles
if (profiles != null) {
if (profiles != null && !profiles.isEmpty()) {
generateConfigurationForProfiles(
profiles,
runnableProject,
Expand Down

0 comments on commit 82b908f

Please sign in to comment.