Skip to content

Commit 661e66b

Browse files
committed
ktlint
1 parent 5886c46 commit 661e66b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/EcsCredentialsProviderTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ class EcsCredentialsProviderTest {
144144
engine.assertRequests()
145145
}
146146

147-
148147
// FIXME iosSimulator fails with a different exception: "Failed to resolve host amazonaws.com: nodename nor servname provided, or not known"
149148
// Need to fix this by applying the same --standalone removal that we do in smithy-kotlin, aws-crt-kotlin. See `configureIosSimulatorTasks` in aws-kotlin-repo-tools.
150149
@IgnoreNative

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/ExecuteCommandTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ExecuteCommandTest {
8080
command = command,
8181
platformProvider = provider,
8282
maxOutputLengthBytes = 1024L,
83-
timeoutMillis = 1000
83+
timeoutMillis = 1000,
8484
)
8585

8686
assertEquals(0, result.first)
@@ -104,4 +104,4 @@ class ExecuteCommandTest {
104104
assertEquals(13, result.first)
105105
assertEquals("Error message\n", result.second)
106106
}
107-
}
107+
}

aws-runtime/aws-config/native/src/aws/sdk/kotlin/runtime/auth/credentials/executeCommandNative.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ internal actual suspend fun executeCommand(
5353

5454
val status = pclose(fp)
5555
val exitCode = when (platformProvider.osInfo().family) {
56-
OsFamily.Windows -> status // Windows returns the exit code directly
57-
else -> (status shr 8) and 0xFF // Posix systems need to use the WEXITSTATUS macro, this is equivalent
56+
OsFamily.Windows -> status // Windows returns the exit code directly
57+
else -> (status shr 8) and 0xFF // Posix systems need to use the WEXITSTATUS macro, this is equivalent
5858
}
5959

6060
exitCode to output

0 commit comments

Comments
 (0)