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:
parent
19f9e1fdd7
commit
772f9f26d9
1 changed files with 1 additions and 1 deletions
|
@ -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))))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue