Skip to content

Commit

Permalink
fix(link): Display current version string (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 authored Mar 1, 2023
1 parent c1ba52f commit dfac98b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lisp/_prepare.el
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ the `eask-start' execution.")

(defun eask-package--version-string (pkg)
"Return PKG's version."
(if-let ((version (eask-package--version pkg)))
(if-let ((version (or (eask-package--version pkg t)
(eask-package--version pkg nil))))
(package-version-join version)
;; Just in case, but this should never happens!
"latest"))
Expand Down

0 comments on commit dfac98b

Please sign in to comment.