Skip to content

Commit 8bdda04

Browse files
cmaglieumbynos
andauthored
Update internal/cli/configuration/build_cache.go
Co-authored-by: Umberto Baldi <[email protected]>
1 parent 94b1983 commit 8bdda04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/cli/configuration/build_cache.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ func (s *Settings) GetBuildCachePath() (*paths.Path, bool) {
4949
// GetBuildCacheExtraPaths returns the extra paths to the build cache.
5050
// Those paths are visited to look for precompiled items if not found elsewhere.
5151
func (s *Settings) GetBuildCacheExtraPaths() paths.PathList {
52-
var res paths.PathList
5352
if p, ok, _ := s.GetStringSliceOk("build_cache.extra_paths"); ok {
5453
return paths.NewPathList(p...)
5554
}
56-
return res
55+
return nil
5756
}

0 commit comments

Comments
 (0)