Skip to content

Commit

Permalink
fix: caching of PKGBUILD file
Browse files Browse the repository at this point in the history
Signed-off-by: moson-mo <mo-son@mailbox.org>
  • Loading branch information
moson-mo committed Aug 9, 2022
1 parent b3542f9 commit a0aaf60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pacseek/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func (ps *UI) displayPkgbuild() {
})
return
}
ps.cachePkgbuild.Set(ps.selectedPackage.PackageBase, content, time.Duration(ps.conf.CacheExpiry)*time.Minute)
} else {
content = contentCached.(string)
}
Expand Down

0 comments on commit a0aaf60

Please sign in to comment.