hurl icon indicating copy to clipboard operation
hurl copied to clipboard

hurlfmt displays extra new line

Open jcamiel opened this issue 3 years ago • 0 comments

Given this Hurl file:

GET http://localhost:8000/hello
HTTP 200

With no new line at the end of HTTP 200 (beware that vim adds a newline by default), hurlfmt displays an extra new line:

$ cat test.hurl
GET http://localhost:8000/hello
HTTP 200%
$ hurlfmt --no-color /tmp/test.hurl
GET http://localhost:8000/hello
HTTP 200
$

(% is displayed by zsh when the file doesn't end with a newline)

jcamiel avatar Dec 04 '22 17:12 jcamiel