mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
handled golangcibot
This commit is contained in:
parent
01fa106de3
commit
4451cbc50b
|
|
@ -92,7 +92,8 @@ func (c *OSCommand) RunCommandWithOutputLive(command string, output func(string)
|
|||
for scanner.Scan() {
|
||||
toWrite := output(re.ReplaceAllString(scanner.Text(), ""))
|
||||
if len(toWrite) > 0 {
|
||||
tty.Write([]byte(toWrite + "\n"))
|
||||
_, err := tty.Write([]byte(toWrite + "\n"))
|
||||
logrus.Error(err.Error())
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
Loading…
Reference in a new issue