Skip to content

Commit d74da17

Browse files
Merge main into feature/build-execute
2 parents e94b416 + f5d161e commit d74da17

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile

1 file changed

+1
-1
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class QRegionProfileManager : PersistentStateComponent<QProfileState>, Disposabl
7474
.awsClient<CodeWhispererRuntimeClient>()
7575
.listAvailableProfilesPaginator {}
7676
.profiles()
77-
.map { p -> QRegionProfile(arn = p.arn(), profileName = p.profileName()) }
77+
.map { p -> QRegionProfile(arn = p.arn(), profileName = p.profileName() ?: "<no name>") }
7878
}
7979
if (mappedProfiles.size == 1) {
8080
switchProfile(project, mappedProfiles.first(), intent = QProfileSwitchIntent.Update)

0 commit comments

Comments
 (0)