Skip to content

Commit 9df0ce7

Browse files
committed
dont normalize text
1 parent 1e7ccd5 commit 9df0ce7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

aws-runtime/aws-config/mingw/src/aws/sdk/kotlin/runtime/auth/credentials/executeCommandMingw.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,7 @@ internal actual suspend fun executeCommand(
164164
_wunlink(outPath.wideCString(this))
165165
}
166166

167-
// Normalize CRLF to LF (PowerShell/Windows) to make tests deterministic
168-
val normalized = sb.toString()
169-
.replace("\r\n", "\n")
170-
.replace("\r", "\n")
171-
172-
exitCode to normalized
167+
exitCode to sb.toString()
173168
} finally {
174169
CloseHandle(pi.hThread)
175170
CloseHandle(pi.hProcess)

0 commit comments

Comments
 (0)