spatie/http-status-check

Confusing --output overwrite (append) behaviour

bobemoe opened this issue · 1 comments

When using --output <filename> if the file exists we are asked if we want to overwrite the file. If we respond with "yes" then the file is actually appended to rather than overwritten.

I'd accept a PR, with tests, that fixes this.