From e795f31db8a78e23d28ce52ea8391947e2f815b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 6 Jul 2021 20:11:20 +0200 Subject: [PATCH] Add missing calculateWeight --- pkg/buildcmd/build.go | 2 ++ 1 file changed, 2 insertions(+) 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