mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 17:10:27 +00:00
Do not try and preload imports that are relative.
This commit is contained in:
parent
b9acb6dfa5
commit
e403fb4652
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user