1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 09:17:17 +00:00

Fix an issue with the removecr script

This commit is contained in:
Calvin Rose 2019-10-19 19:11:13 -04:00
parent b9e05d06fe
commit 99ef4c7510

View File

@ -2,6 +2,6 @@
# windows may add bad line endings, we can just force removal
# with this script.
(def fname ((dyn :args) 1))
(def input (slurp fname :rb))
(def input (slurp fname))
(def new-source (string/replace-all "\r" "" source))
(spit fname new-source :wb)