osv-detector
osv-detector copied to clipboard
refactor: replace `fatih/color` with `go-pretty`
In addition to this shaving ~100kb off the binary, it also means GoLand understands there are string formatting functions since they follow the Sprintf pattern 🎉
CI is currently failing because go-pretty currently does not automatically try to detect color support, so the color codes are being outputted in the test suite and its snapshots.
I have opened https://github.com/jedib0t/go-pretty/issues/352 for this