mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 09:28:47 +00:00
Rework addons (use rpc) (#3268)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
This commit is contained in:
@@ -114,7 +114,7 @@ func lintFile(_ *cli.Context, file string) error {
|
||||
hasErrors = true
|
||||
}
|
||||
|
||||
if data := err.GetLinterData(); data != nil {
|
||||
if data := pipeline_errors.GetLinterData(err); data != nil {
|
||||
line = fmt.Sprintf("%s %s\t%s", line, output.String(data.Field).Bold(), err.Message)
|
||||
} else {
|
||||
line = fmt.Sprintf("%s %s", line, err.Message)
|
||||
|
Reference in New Issue
Block a user