Fix 'doom update' reporting that a successful fetch failed
This commit is contained in:
parent
665b627b7c
commit
4dc01912f1
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ declaration) or dependency thereof that hasn't already been."
|
|||
(setq output (straight--process-get-output))
|
||||
(straight-merge-package package)
|
||||
(setq target-ref (straight-vc-get-commit type local-repo))
|
||||
(when (doom--same-commit-p target-ref ref)
|
||||
(cl-return))))
|
||||
(or (not (doom--same-commit-p target-ref ref))
|
||||
(cl-return))))
|
||||
|
||||
((doom--same-commit-p target-ref ref)
|
||||
(print! (info "\033[K(%d/%d) %s is up-to-date...%s") i total package esc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue