mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Better error for code 128
This commit is contained in:
@ -88,8 +88,7 @@ func (c *OSCommand) DetectUnamePass(command string, ask func(string) string) err
|
|||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if strings.Contains("exit status 128", err.Error()) {
|
if strings.Contains("exit status 128", err.Error()) {
|
||||||
// errMessage = "exit status 128"
|
errMessage = "exit status 128"
|
||||||
errMessage = errMessage
|
|
||||||
}
|
}
|
||||||
return errors.New(errMessage)
|
return errors.New(errMessage)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user