1
0
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:
Calvin Rose 2019-04-09 09:05:47 -04:00
parent e5a56174e2
commit 5287007cd6

View File

@ -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)))))