mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 08:20:27 +00:00
Fix typo in comment.
This commit is contained in:
parent
e5a56174e2
commit
5287007cd6
@ -1588,7 +1588,7 @@
|
|||||||
on Windows is C:/Janet/Library."
|
on Windows is C:/Janet/Library."
|
||||||
(or (process/opts "JANET_PATH") ""))
|
(or (process/opts "JANET_PATH") ""))
|
||||||
|
|
||||||
# Version of fexisst that works even with a reduced OS
|
# Version of fexists that works even with a reduced OS
|
||||||
(if-let [has-stat (_env 'os/stat)]
|
(if-let [has-stat (_env 'os/stat)]
|
||||||
(let [stat (has-stat :value)]
|
(let [stat (has-stat :value)]
|
||||||
(defglobal "fexists" (fn fexists [path] (= :file (stat path :mode)))))
|
(defglobal "fexists" (fn fexists [path] (= :file (stat path :mode)))))
|
||||||
|
Loading…
Reference in New Issue
Block a user