1
0
mirror of https://github.com/janet-lang/janet synced 2025-05-04 16:34:15 +00:00

Strip whitespace in boot.dst

This commit is contained in:
Calvin Rose 2018-05-18 22:18:34 -04:00
parent c2199646be
commit 5b62630a9b

View File

@ -987,6 +987,7 @@ environment is needed, use run-context."
(defn checkmodule (defn checkmodule
[f testpath] [f testpath]
(if f f (do (if f f (do
(def p (string.replace-all "?" normname testpath))
(def p (string.replace-all "?" normname testpath)) (def p (string.replace-all "?" normname testpath))
(file.open p)))) (file.open p))))
(reduce checkmodule nil module.paths)) (reduce checkmodule nil module.paths))