Fix _build.list.local logic

Fixes #7089
This commit is contained in:
Bjørn Erik Pedersen
2020-03-24 11:47:05 +01:00
parent 971b28904b
commit 523d51948f
5 changed files with 10 additions and 15 deletions

View File

@@ -71,10 +71,6 @@ func (b BuildConfig) IsZero() bool {
return !b.set
}
func (b *BuildConfig) ShouldList() bool {
return b.List == Always || b.List == ListLocally
}
func DecodeBuildConfig(m interface{}) (BuildConfig, error) {
b := defaultBuildConfig
if m == nil {