pkg - Improving error message on bad github urls
(cherry picked from commit 7cddc64e5a
)
This commit is contained in:
parent
b24c73ebb7
commit
6b2f905a2b
|
@ -415,6 +415,10 @@
|
|||
(update-install-info-orig-pkg
|
||||
(match type
|
||||
['github
|
||||
(unless checksum
|
||||
(pkg-error (~a "could not find checksum for github package source, which implies it doesn't exist\n"
|
||||
" source: ~a")
|
||||
pkg))
|
||||
(match-define (list* user repo branch path)
|
||||
(map path/param-path (url-path/no-slash pkg-url)))
|
||||
(define new-url
|
||||
|
|
Loading…
Reference in New Issue
Block a user