mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-19 00:28:03 +02:00
Working new lines in live pty output
This commit is contained in:
@ -87,8 +87,9 @@ func (c *OSCommand) DetectUnamePass(command string, ask func(string) string) err
|
||||
return ""
|
||||
})
|
||||
if err != nil {
|
||||
if errorCode := err.Error(); strings.Contains("exit status 128", errorCode) {
|
||||
errMessage = "exit status 128"
|
||||
if strings.Contains("exit status 128", err.Error()) {
|
||||
// errMessage = "exit status 128"
|
||||
errMessage = errMessage
|
||||
}
|
||||
return errors.New(errMessage)
|
||||
}
|
||||
|
Reference in New Issue
Block a user