mirror of
https://github.com/janet-lang/janet
synced 2024-11-16 05:34:48 +00:00
Merge branch 'master' into compile-opt
This commit is contained in:
commit
2c208f5d01
@ -2958,7 +2958,7 @@
|
|||||||
:core/stream path
|
:core/stream path
|
||||||
(file/open path :rb)))
|
(file/open path :rb)))
|
||||||
(def path-is-file (= f path))
|
(def path-is-file (= f path))
|
||||||
(default env (make-env))
|
(default env (make-env (curenv)))
|
||||||
(def spath (string path))
|
(def spath (string path))
|
||||||
(put env :source (or source (if-not path-is-file spath path)))
|
(put env :source (or source (if-not path-is-file spath path)))
|
||||||
(var exit-error nil)
|
(var exit-error nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user