We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a78aac commit 28a3a95Copy full SHA for 28a3a95
psc-ide.el
@@ -403,8 +403,8 @@ use when the search used was with `string-match'."
403
(defun psc-ide--version-gte (version1 version2)
404
"Determines whether VERSION1 is greater then or equal to VERSION2"
405
(let* ((vs (-zip-fill 0
406
- (-map 'string-to-int (s-split "\\." version1))
407
- (-map 'string-to-int (s-split "\\." version2))))
+ (-map 'string-to-number (s-split "\\." version1))
+ (-map 'string-to-number (s-split "\\." version2))))
408
;; drop all the prefix version numbers that are equal
409
(v (car (--drop-while (= (cdr it) (car it)) vs))))
410
;; if v is nil, the two versions were completely equal
0 commit comments