aboutsummaryrefslogtreecommitdiff
path: root/common/entities.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/entities.js')
-rw-r--r--common/entities.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/entities.js b/common/entities.js
index 46836b5..3a1346a 100644
--- a/common/entities.js
+++ b/common/entities.js
@@ -45,7 +45,7 @@
* Convert ver_str into an array representation, e.g. for ver_str="4.6.13.0"
* return [4, 6, 13, 0].
*/
-const parse_version = ver_str => ver_str.split(".").map(parseInt);
+const parse_version = ver_str => ver_str.split(".").map(n => parseInt(n));
/*
* ver is an array of integers. rev is an optional integer. Produce string