mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-04 03:48:07 +02:00
fix ambiguous condition
This commit is contained in:
parent
cd3874ffb7
commit
861bcc38be
@ -210,5 +210,5 @@ func (p *PatchManager) Reset() {
|
||||
}
|
||||
|
||||
func (p *PatchManager) IsEmpty() bool {
|
||||
return p != nil && p.CommitSha == "" || len(p.fileInfoMap) == 0
|
||||
return p != nil && (p.CommitSha == "" || len(p.fileInfoMap) == 0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user