Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ private class AmazonQServerInstance(private val project: Project, private val cs

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

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

put("AWS_CONFIG_FILE", emptyFile)
put("AWS_SHARED_CREDENTIALS_FILE", emptyFile)

// assume default endpoint will pick correct proxy if needed
val qUri = URI(QDefaultServiceConfig.ENDPOINT)
val proxy = JdkProxyProvider.getInstance().proxySelector.select(qUri)
Expand Down
Loading