Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoThemesSiteBuilder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-07-06 21:11:20 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-07-06 21:11:42 +0300
commite795f31db8a78e23d28ce52ea8391947e2f815b0 (patch)
tree7bb8eb31c2201d1ba5776fcf4d9fa7555e8b2aa2 /pkg
parentca258a09bbd93e230f5c8b4806c314423a609353 (diff)
Add missing calculateWeight
Diffstat (limited to 'pkg')
-rw-r--r--pkg/buildcmd/build.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/buildcmd/build.go b/pkg/buildcmd/build.go
index 9e47df3..1c47600 100644
--- a/pkg/buildcmd/build.go
+++ b/pkg/buildcmd/build.go
@@ -166,6 +166,8 @@ func (c *buildClient) writeThemesContent(mm client.ModulesMap, noClean bool) err
ghRepo: githubrepos[m.Path],
}
+ thm.calculateWeight(maxStars)
+
// TODO(bep) we don't build any demo site anymore, but
// we could and should probably build a simple site and
// count warnings and error and use that to