Skip to content

Commit

Permalink
Update internal/cli/configuration/build_cache.go
Browse files Browse the repository at this point in the history
Co-authored-by: Umberto Baldi <[email protected]>
  • Loading branch information
cmaglie and umbynos authored May 29, 2024
1 parent 94b1983 commit 8bdda04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/cli/configuration/build_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ func (s *Settings) GetBuildCachePath() (*paths.Path, bool) {
// GetBuildCacheExtraPaths returns the extra paths to the build cache.
// Those paths are visited to look for precompiled items if not found elsewhere.
func (s *Settings) GetBuildCacheExtraPaths() paths.PathList {
var res paths.PathList
if p, ok, _ := s.GetStringSliceOk("build_cache.extra_paths"); ok {
return paths.NewPathList(p...)
}
return res
return nil
}

0 comments on commit 8bdda04

Please sign in to comment.