diff --git a/internal/builder/builder.go b/internal/builder/builder.go index 70879f4d5b..e99b32c8d5 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -291,7 +291,7 @@ func (b *Builder) Save(logger logging.Logger) error { bpInfo := bp.Descriptor().Info if _, ok := bpLayers[bpInfo.ID][bpInfo.Version]; ok { logger.Warnf( - "buildpack %s already exists on builder and will be overridden", + "buildpack %s already exists on builder and will be overwritten", style.Symbol(bpInfo.FullName()), ) } diff --git a/internal/builder/builder_test.go b/internal/builder/builder_test.go index 22b35d60d6..a88c4ab085 100644 --- a/internal/builder/builder_test.go +++ b/internal/builder/builder_test.go @@ -808,7 +808,7 @@ func testBuilder(t *testing.T, when spec.G, it spec.S) { var layers dist.BuildpackLayers h.AssertNil(t, json.Unmarshal([]byte(label), &layers)) - h.AssertContains(t, outBuf.String(), "Warning: buildpack 'buildpack-1-id@buildpack-1-version-2' already exists on builder and will be overridden") + h.AssertContains(t, outBuf.String(), "Warning: buildpack 'buildpack-1-id@buildpack-1-version-2' already exists on builder and will be overwritten") h.AssertNotContains(t, layers["buildpack-1-id"]["buildpack-1-version-2"].LayerDiffID, "buildpack-1-version-2-diff-id") }) })