Merge pull request #1002 from gucio321/hotfix3

fixed bug with terminal's logLevel
This commit is contained in:
Tim Sarbin 2020-12-22 17:09:50 -05:00 committed by GitHub
commit 8a7514cd1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}