Revert wrong returned value after a test.
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 23 Aug 2021 15:11:17 +0000 (17:11 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 23 Aug 2021 15:11:17 +0000 (17:11 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Utils.ts

index f453c8220fcb7a24c182ba602efe95dbdaff6ea3..5da54a2e150fb64940c563ca6494297f7f0f7306 100644 (file)
@@ -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)) {