Skip to content

Commit 39fce77

Browse files
committed
detekt
1 parent 2024a0a commit 39fce77

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/service/CodeWhispererService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ class CodeWhispererService(private val cs: CoroutineScope) : Disposable {
540540
openTabFilepaths = editor.project?.let { project ->
541541
com.intellij.openapi.fileEditor.FileEditorManager.getInstance(project)
542542
.openFiles.mapNotNull { toUriString(it) }
543-
} ?: emptyList(),
543+
}.orEmpty(),
544544
).apply {
545545
textDocument = TextDocumentIdentifier(toUriString(editor.virtualFile))
546546
position = Position(

0 commit comments

Comments
 (0)