mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +00:00 
			
		
		
		
	Print message if no hook found, but looked for
This commit is contained in:
		| @@ -4046,7 +4046,9 @@ | ||||
|   (defn- do-hook | ||||
|     [module bundle-name hook & args] | ||||
|     (def hookf (module/value module (symbol hook))) | ||||
|     (unless hookf (break)) | ||||
|     (unless hookf | ||||
|       (print "no hook " hook " found for bundle " bundle-name) | ||||
|       (break)) | ||||
|     (def manifest (bundle/manifest bundle-name)) | ||||
|     (def dir (os/cwd)) | ||||
|     (os/cd (get manifest :local-source ".")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose