1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-11 14:39:28 +02:00

fix: logext STDERR use warn instead of error (#2791)

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2021-12-29 16:12:42 -03:00 committed by GitHub
parent c47b5d4ed7
commit 89ece5595a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
foo foo=bar
bar foo=bar
foo foo=bar
bar foo=bar

View File

@ -47,7 +47,7 @@ func (w logWriter) Write(p []byte) (int, error) {
case Info:
w.ctx.Info(line)
case Error:
w.ctx.Error(line)
w.ctx.Warn(line)
}
}
return len(p), nil