mirror of
https://github.com/janet-lang/janet
synced 2025-01-05 21:30:27 +00:00
Setting a profile will mess with imports.
This commit is contained in:
parent
3894f4021a
commit
71d81b14a2
@ -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)))))
|
||||
|
||||
###
|
||||
|
Loading…
Reference in New Issue
Block a user