Skip to content

Commit 11ab0c2

Browse files
committed
lint
1 parent 5eddfaa commit 11ab0c2

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

aws-crt-kotlin/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*/
5-
import aws.sdk.kotlin.gradle.kmp.NATIVE_ENABLED
65
import aws.sdk.kotlin.gradle.crt.CMakeBuildType
76
import aws.sdk.kotlin.gradle.crt.cmakeInstallDir
87
import aws.sdk.kotlin.gradle.crt.configureCrtCMakeBuild
98
import aws.sdk.kotlin.gradle.dsl.configurePublishing
9+
import aws.sdk.kotlin.gradle.kmp.NATIVE_ENABLED
1010
import aws.sdk.kotlin.gradle.kmp.configureIosSimulatorTasks
1111
import aws.sdk.kotlin.gradle.kmp.configureKmpTargets
1212
import aws.sdk.kotlin.gradle.util.typedProp
@@ -229,6 +229,5 @@ private fun findMingwHome(): String =
229229
?: typedProp("mingw.prefix")
230230
?: throw IllegalStateException(
231231
"Cannot determine MinGW prefix location. Please verify MinGW is installed correctly " +
232-
"and that either the `MINGW_PREFIX` environment variable or the `mingw.prefix` Gradle property is set.",
232+
"and that either the `MINGW_PREFIX` environment variable or the `mingw.prefix` Gradle property is set.",
233233
)
234-

aws-crt-kotlin/mingw/src/aws/sdk/kotlin/crt/util/OsVersion.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ private fun MemScope.getProductVersion(versionInfoPtr: CPointer<ByteVarOf<Byte>>
8888
}
8989
blockBytes.decodeToString()
9090
}
91-
}
91+
}

aws-crt-kotlin/mingw/test/aws/sdk/kotlin/crt/util/OsVersionTest.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package aws.sdk.kotlin.crt.util
27

38
import kotlin.test.Test
@@ -8,4 +13,4 @@ class OsVersionTest {
813
val version = osVersionFromKernel()
914
assertNotNull(osInfo.version)
1015
}
11-
}
16+
}

0 commit comments

Comments
 (0)