This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint/lintutil/format: avoid panic in Stylish if first Position to rep…
…ort is empty Pointer tw was not initialised before use, if the first call to Format was with an empty Position, leading to panic. This change forces the Filename to be something ("-"), to avoid that. Closes: dominikhgh-383 [via git-merge-pr]
- Loading branch information