mirror of
https://github.com/janet-lang/janet
synced 2025-02-10 05:40:02 +00:00
Fix bundle/install with :check true installation failure.
This commit is contained in:
parent
71d81b14a2
commit
99f0af92bd
@ -4295,10 +4295,10 @@
|
|||||||
(do-hook module bundle-name :clean man))
|
(do-hook module bundle-name :clean man))
|
||||||
(do-hook module bundle-name :build man)
|
(do-hook module bundle-name :build man)
|
||||||
(do-hook module bundle-name :install man)
|
(do-hook module bundle-name :install man)
|
||||||
(when check
|
|
||||||
(do-hook module bundle-name :check man))
|
|
||||||
(if (empty? (get man :files)) (print "no files installed, is this a valid bundle?"))
|
(if (empty? (get man :files)) (print "no files installed, is this a valid bundle?"))
|
||||||
(sync-manifest man))
|
(sync-manifest man)
|
||||||
|
(when check
|
||||||
|
(do-hook module bundle-name :check man)))
|
||||||
(print "installed " bundle-name)
|
(print "installed " bundle-name)
|
||||||
bundle-name)
|
bundle-name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user