Skip to content

Commit

Permalink
Setting a profile will mess with imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed Oct 5, 2024
1 parent 3894f40 commit 71d81b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/boot/boot.janet
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

###
Expand Down

0 comments on commit 71d81b1

Please sign in to comment.