fixed bug with terminal's logLevel

This commit is contained in:
M. Sz 2020-12-22 15:18:14 +01:00
parent 0f658d5dec
commit e6dd0bc35d
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func (tl *terminalLogger) Write(p []byte) (int, error) {
case strings.Index(lineLower, "error") > 0:
tl.terminal.Errorf(line)
case strings.Index(lineLower, "warning") > 0:
tl.terminal.Errorf(line)
tl.terminal.Warningf(line)
default:
tl.terminal.Printf(line)
}