1
0
mirror of https://github.com/janet-lang/janet synced 2024-10-18 08:00:40 +00:00

Setting a profile will mess with imports.

This commit is contained in:
Calvin Rose 2024-10-05 12:13:44 -05:00
parent 3894f4021a
commit 71d81b14a2

View File

@ -4667,7 +4667,8 @@
(setdyn *lint-error* error-level)
(setdyn *lint-warn* error-level)
(when-let [profile.janet (dyn *profilepath*)]
(dofile profile.janet :exit true :env env))
(dofile profile.janet :exit true :env env)
(put env *current-file* nil))
(repl getchunk nil env)))))
###