From 3bad411a8423762ed5ae468d52994854e6776132 Mon Sep 17 00:00:00 2001 From: 0marperez Date: Mon, 2 Oct 2023 09:40:02 -0400 Subject: [PATCH] Nit fix --- .../common/src/aws/smithy/kotlin/runtime/util/JMESPath.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/util/JMESPath.kt b/runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/util/JMESPath.kt index ff129c427..386fb17b9 100644 --- a/runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/util/JMESPath.kt +++ b/runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/util/JMESPath.kt @@ -67,7 +67,7 @@ public fun Any?.type(): String = when (this) { is String -> "string" is Boolean -> "boolean" is List<*>, is Array<*> -> "array" - is Short, is Int, is Long, is Float, is Double -> "number" + is Number -> "number" is Any -> "object" null -> "null" else -> throw Exception("Undetected type for: $this")