mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +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:
		| @@ -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) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 primo-ppcg
					primo-ppcg