hurl
hurl copied to clipboard
hurlfmt displays extra new line
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)