mirror of
https://github.com/janet-lang/janet
synced 2024-11-19 15:14:48 +00:00
Add some better logging when pruning bundles.
This commit is contained in:
parent
7387a1d91e
commit
46bdcece4d
@ -4171,7 +4171,11 @@
|
|||||||
(each d (get m :dependencies []) (put exempt d true)))
|
(each d (get m :dependencies []) (put exempt d true)))
|
||||||
(array/push to-drop b)))
|
(array/push to-drop b)))
|
||||||
(print "pruning " (length to-drop) " bundles")
|
(print "pruning " (length to-drop) " bundles")
|
||||||
(each b to-drop (bundle-uninstall-unchecked b)))
|
(each b to-drop
|
||||||
|
(print "- " b))
|
||||||
|
(each b to-drop
|
||||||
|
(print "uninstalling " b)
|
||||||
|
(bundle-uninstall-unchecked b)))
|
||||||
|
|
||||||
(defn bundle/installed?
|
(defn bundle/installed?
|
||||||
"Check if a bundle is installed."
|
"Check if a bundle is installed."
|
||||||
|
Loading…
Reference in New Issue
Block a user