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