summaryrefslogtreecommitdiff
path: root/vrsite/static.go
diff options
context:
space:
mode:
Diffstat (limited to 'vrsite/static.go')
-rw-r--r--vrsite/static.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vrsite/static.go b/vrsite/static.go
index b299975..0a8eec0 100644
--- a/vrsite/static.go
+++ b/vrsite/static.go
@@ -32,9 +32,9 @@ func run(dir string, name string, args ...string) []byte {
return out
}
-func buildSite(logPath, repoAbs, out, title string, theme, light *Theme, themes *themeSet) {
+func buildSite(log logStore, repoAbs, out, title string, theme, light *Theme, themes *themeSet) {
start := time.Now()
- entries := readLog(logPath)
+ entries := readLog(log)
ranked := buildModel(title, entries, "").Ranked
if len(ranked) == 0 {
fatal("log has no jj change ids")