Merge pull request #205 from muesli/static-fixes

Removed empty else branch
This commit is contained in:
Alex Goodman 2019-07-21 15:48:02 -04:00 committed by GitHub
commit 3752d641ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ func (cache *TreeCache) Get(bottomTreeStart, bottomTreeStop, topTreeStart, topTr
if value, exists := cache.cache[key]; exists {
return value
}
value := cache.buildTree(key)
cache.cache[key] = value
return value