mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
handled golangcibot
This commit is contained in:
@ -92,7 +92,8 @@ func (c *OSCommand) RunCommandWithOutputLive(command string, output func(string)
|
|||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
toWrite := output(re.ReplaceAllString(scanner.Text(), ""))
|
toWrite := output(re.ReplaceAllString(scanner.Text(), ""))
|
||||||
if len(toWrite) > 0 {
|
if len(toWrite) > 0 {
|
||||||
tty.Write([]byte(toWrite + "\n"))
|
_, err := tty.Write([]byte(toWrite + "\n"))
|
||||||
|
logrus.Error(err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Reference in New Issue
Block a user