mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 14:25:50 +01:00
Merge pull request #205 from muesli/static-fixes
Removed empty else branch
This commit is contained in:
commit
3752d641ef
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue