1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-18 14:44:48 +00:00

Add some better logging when pruning bundles.

This commit is contained in:
Calvin Rose 2024-05-25 10:56:40 -05:00
parent 7387a1d91e
commit 46bdcece4d

View File

@ -4171,7 +4171,11 @@
(each d (get m :dependencies []) (put exempt d true)))
(array/push to-drop b)))
(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?
"Check if a bundle is installed."