1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-10 14:56:08 +00:00

Generated files go to the same location on win32.

This commit is contained in:
Calvin Rose
2019-01-26 17:33:30 -05:00
parent 68e00cdb7a
commit ee5fa54134
2 changed files with 4 additions and 7 deletions

View File

@@ -6,9 +6,6 @@
(defn dofile
"Print one file to stdout"
[path]
(def path (if (= (os/which) :windows)
(string/replace "/" "\\" path)
path))
(print (slurp path)))
# Order is important here, as some headers