mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Fix bundle/install with :check true installation failure.
This commit is contained in:
		| @@ -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) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose