fix(cli): suppress 'checked out X' when X = nil
This commit is contained in:
parent
b533f5496c
commit
65240e9b92
1 changed files with 2 additions and 1 deletions
|
@ -319,7 +319,8 @@ list remains lean."
|
|||
(print-group!
|
||||
(if-let (pin (cdr (assoc package pinned)))
|
||||
(print! (item "Pinned to %s") pin)
|
||||
(print! (item "Checked out %s") commit)))
|
||||
(when commit
|
||||
(print! (item "Checked out %s") commit))))
|
||||
;; HACK: Line encoding issues can plague
|
||||
;; repos with dirty worktree prompts
|
||||
;; when updating packages or "Local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue