repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9f188
)
Revert wrong returned value after a test.
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 23 Aug 2021 15:11:17 +0000
(17:11 +0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index f453c8220fcb7a24c182ba602efe95dbdaff6ea3..5da54a2e150fb64940c563ca6494297f7f0f7306 100644
(file)
--- 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)) {