mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-27 15:07:43 +00:00
Fix empty check.
This commit is contained in:
parent
1791534950
commit
4f2a66c313
1 changed files with 1 additions and 1 deletions
|
|
@ -254,5 +254,5 @@ func (digest *Digest) fetch(githubClient *github.Client) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (digest *Digest) Empty() bool {
|
func (digest *Digest) Empty() bool {
|
||||||
return len(digest.IntervalDigests) > 0
|
return len(digest.IntervalDigests) == 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue