mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +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:
parent
a238391b36
commit
5317edc65d
@ -4189,12 +4189,11 @@
|
|||||||
|
|
||||||
(defn do-one-file
|
(defn do-one-file
|
||||||
[fname]
|
[fname]
|
||||||
(if-not (has-value? boot/args "image-only")
|
(unless (has-value? boot/args "image-only")
|
||||||
(do
|
|
||||||
(print "\n/* " fname " */")
|
(print "\n/* " fname " */")
|
||||||
(print "#line 0 \"" fname "\"\n")
|
(print "#line 0 \"" fname "\"\n")
|
||||||
(def source (slurp fname))
|
(def source (slurp fname))
|
||||||
(print (string/replace-all "\r" "" source)))))
|
(print (string/replace-all "\r" "" source))))
|
||||||
|
|
||||||
(do-one-file feature-header)
|
(do-one-file feature-header)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user