gh.el
gh.el copied to clipboard
Why disable adding labels when creating a new issue?
(defmethod gh-issues-issue-req-to-update ((req gh-issues-issue))
(let ((assignee (oref req assignee))
;; (labels (oref req labels))
(milestone (oref req milestone))
(to-update `(("title" . ,(oref req title))
("state" . ,(oref req state))
("body" . ,(oref req body)))))
;; (when labels (nconc to-update `(("labels" . ,(oref req labels) ))))
(when milestone
(nconc to-update `(("milestone" . ,(oref milestone number)))))
(when assignee
(nconc to-update `(("assignee" . ,(oref assignee login) ))))
to-update))
I noticed that you comemnt out those two pieces of code. But I don't know why?
It feels like this was a missed ;todo
item. Easy fix, anyway.