Skip to content

Commit 84d53dd

Browse files
committed
tst
1 parent 512681c commit 84d53dd

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/settings/CodeWhispererConfigurable.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ class CodeWhispererConfigurable(private val project: Project) :
7272

7373
textFieldWithBrowseButton(fileChooserDescriptor = fileChooserDescriptor)
7474
.bindText(
75-
{ LspSettings.getInstance().getArtifactPath() },
76-
{ LspSettings.getInstance().setArtifactPath(it.takeIf { v -> v.isNotBlank() }) }
75+
{ LspSettings.getInstance().getArtifactPath() ?: "" },
76+
{ LspSettings.getInstance().setArtifactPath(it) }
7777
)
7878
.applyToComponent {
7979
emptyText.text = "Choose a file to upload"

0 commit comments

Comments
 (0)