mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix: prevent error on tagless doom-version
This would throw an error when we eventually drop the -pre tag in doom-version.
This commit is contained in:
@ -381,7 +381,7 @@ Defaults to the profile at `doom-profile-default'."
|
||||
'(major ,(nth 0 v)
|
||||
minor ,(nth 1 v)
|
||||
build ,(nth 2 v)
|
||||
tag ,(cadr (split-string doom-version "-" t))
|
||||
tag ,(ignore-errors (cadr (split-string doom-version "-" t)))
|
||||
ref ,(if (zerop (car ref)) (cdr ref))
|
||||
branch ,(if (zerop (car branch)) (cdr branch))))))))
|
||||
|
||||
|
Reference in New Issue
Block a user