mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	Do not try and preload imports that are relative.
This commit is contained in:
		| @@ -2670,7 +2670,7 @@ | ||||
| (module/add-paths "/init.janet" :source) | ||||
| (module/add-paths ".janet" :source) | ||||
| (module/add-paths ".jimage" :image) | ||||
| (array/insert module/paths 0 [(fn is-cached [path] (if (in module/cache path) path)) :preload]) | ||||
| (array/insert module/paths 0 [(fn is-cached [path] (if (in module/cache path) path)) :preload check-is-dep]) | ||||
|  | ||||
| # Version of fexists that works even with a reduced OS | ||||
| (defn fexists | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose