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:
commit
ee3547ea90
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user