Skip to content

Commit

Permalink
fix: cmd bake uses ptr rcvr
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Sep 25, 2022
1 parent 171fc17 commit 18a4946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/commands/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type checksummer interface {
Sum(path string) error
}

func NewBake(fs billy.Filesystem, releasesService baking.ReleasesService, outLogger *log.Logger, errLogger *log.Logger) Bake {
func NewBake(fs billy.Filesystem, releasesService baking.ReleasesService, outLogger *log.Logger, errLogger *log.Logger) *Bake {
filesystem := helper.NewFilesystem()
zipper := builder.NewZipper()
interpolator := builder.NewInterpolator()
Expand All @@ -80,7 +80,7 @@ func NewBake(fs billy.Filesystem, releasesService baking.ReleasesService, outLog
metadataService := baking.NewMetadataService()
checksummer := baking.NewChecksummer(errLogger)

return Bake{
return &Bake{
interpolator: interpolator,
tileWriter: tileWriter,
checksummer: checksummer,
Expand Down

0 comments on commit 18a4946

Please sign in to comment.