mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Add assertion
This commit is contained in:
parent
14a7b02ac1
commit
2268f2f9b6
|
@ -176,6 +176,8 @@ given method."
|
|||
(let* ((method (if (keywordp method-name) method-name
|
||||
(intern (concat ":" (format "%s" method-name)))))
|
||||
(actions (plist-get el-get-methods method)))
|
||||
(assert actions nil
|
||||
"Unknown recipe type: %s" method)
|
||||
(plist-get actions action)))
|
||||
|
||||
(defun el-get-check-init ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user