mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-23 12:18:51 +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 {
|
func (p *PatchManager) IsEmpty() bool {
|
||||||
return p != nil && p.CommitSha == "" || len(p.fileInfoMap) == 0
|
return p != nil && (p.CommitSha == "" || len(p.fileInfoMap) == 0)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user