1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

minor readability change

As suggested by @sogaiu

@zevv forget to push this change in a recent PR (https://github.com/janet-lang/janet/pull/1175#issuecomment-1576128152).

Incidentally, the affected lines were already reformatted in the current PR, via fmt/format-file.
This commit is contained in:
primo-ppcg 2023-06-08 23:00:05 +07:00
parent a238391b36
commit 5317edc65d

View File

@ -4189,12 +4189,11 @@
(defn do-one-file
[fname]
(if-not (has-value? boot/args "image-only")
(do
(print "\n/* " fname " */")
(print "#line 0 \"" fname "\"\n")
(def source (slurp fname))
(print (string/replace-all "\r" "" source)))))
(unless (has-value? boot/args "image-only")
(print "\n/* " fname " */")
(print "#line 0 \"" fname "\"\n")
(def source (slurp fname))
(print (string/replace-all "\r" "" source))))
(do-one-file feature-header)