Fix wrong-type-arg number during 'doom upgrade'
This commit is contained in:
parent
c28fff4fbf
commit
2304d69898
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ following shell commands:
|
|||
(kill-buffer output))))
|
||||
|
||||
(defun doom--working-tree-dirty-p (dir)
|
||||
(cl-destructuring-bind (code . stdout)
|
||||
(cl-destructuring-bind (success . stdout)
|
||||
(doom--sh "git" "status" "--porcelain" "-uno")
|
||||
(if (zerop code)
|
||||
(if success
|
||||
(string-match-p "[^ \t\n]" (buffer-string))
|
||||
(error "Failed to check working tree in %s" dir))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue