From 99f0af92bdd393d3a3f73fcecdd45ab059a039da Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 5 Oct 2024 12:34:10 -0500 Subject: [PATCH] Fix bundle/install with :check true installation failure. --- src/boot/boot.janet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index d0ab6acb..3337f6fa 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -4295,10 +4295,10 @@ (do-hook module bundle-name :clean man)) (do-hook module bundle-name :build 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?")) - (sync-manifest man)) + (sync-manifest man) + (when check + (do-hook module bundle-name :check man))) (print "installed " bundle-name) bundle-name)