From 99ef4c751059b26f4db52a5885709691a5dee352 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 19 Oct 2019 19:11:13 -0400 Subject: [PATCH] Fix an issue with the removecr script --- tools/removecr.janet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/removecr.janet b/tools/removecr.janet index 97016569..9f7fc227 100644 --- a/tools/removecr.janet +++ b/tools/removecr.janet @@ -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)