1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-24 03:47:45 +02:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Salvador Cavadini 2018-06-07 13:30:17 +02:00
commit ee3547ea90

View File

@ -21,7 +21,7 @@ func (f *Stylish) Name() string {
}
func formatFailure(failure lint.Failure, severity lint.Severity) []string {
fString := color.BlueString(failure.Failure)
fString := color.CyanString(failure.Failure)
fName := color.RedString(failure.RuleName)
lineColumn := failure.Position
pos := fmt.Sprintf("(%d, %d)", lineColumn.Start.Line, lineColumn.Start.Column)