Skip to content

Commit 0203b7d

Browse files
committed
Revert putting empty files for aws credential locations for q
1 parent e8ed448 commit 0203b7d

File tree

1 file changed

+0
-4
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp

1 file changed

+0
-4
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ private class AmazonQServerInstance(private val project: Project, private val cs
453453

454454
val node = if (SystemInfo.isWindows) "node.exe" else "node"
455455
val nodePath = NodeExePatcher.getNodeRuntimePath(project, artifact.resolve(node))
456-
val emptyFile = Files.createTempFile("empty", null).toAbsolutePath().toString()
457456

458457
val cmd = NodeExePatcher.patch(nodePath)
459458
.withParameters(
@@ -467,9 +466,6 @@ private class AmazonQServerInstance(private val project: Project, private val cs
467466
put("NODE_EXTRA_CA_CERTS", it)
468467
}
469468

470-
put("AWS_CONFIG_FILE", emptyFile)
471-
put("AWS_SHARED_CREDENTIALS_FILE", emptyFile)
472-
473469
// assume default endpoint will pick correct proxy if needed
474470
val qUri = URI(QDefaultServiceConfig.ENDPOINT)
475471
val proxy = JdkProxyProvider.getInstance().proxySelector.select(qUri)

0 commit comments

Comments
 (0)