From 95926c9b54dbbe8b564724b0de42b963f9067653 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 23 Aug 2021 17:11:17 +0200 Subject: [PATCH] Revert wrong returned value after a test. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index f453c822..5da54a2e 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -58,7 +58,7 @@ export default class Utils { return 0; } if (Number.isSafeInteger(value)) { - return changedValue; + return value as number; } // Check if (Utils.isString(value)) { -- 2.34.1