From 142f9f9bbb2c1789be1134e159c68a40ef0fe89b Mon Sep 17 00:00:00 2001 From: Ben Hale Date: Mon, 27 Apr 2020 11:14:21 -0700 Subject: [PATCH] Polishing Signed-off-by: Ben Hale --- sbt/distribution.go | 1 - sbt/distribution_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/sbt/distribution.go b/sbt/distribution.go index 0e41f52..c4f0adb 100644 --- a/sbt/distribution.go +++ b/sbt/distribution.go @@ -44,7 +44,6 @@ func (d Distribution) Contribute(layer libcnb.Layer) (libcnb.Layer, error) { return libcnb.Layer{}, fmt.Errorf("unable to expand SBT\n%w", err) } - layer.Build = true layer.Cache = true return layer, nil }) diff --git a/sbt/distribution_test.go b/sbt/distribution_test.go index 7dc93aa..0e8cc65 100644 --- a/sbt/distribution_test.go +++ b/sbt/distribution_test.go @@ -61,7 +61,6 @@ func testDistribution(t *testing.T, context spec.G, it spec.S) { layer, err = d.Contribute(layer) Expect(err).NotTo(HaveOccurred()) - Expect(layer.Build).To(BeTrue()) Expect(layer.Cache).To(BeTrue()) Expect(filepath.Join(layer.Path, "fixture-marker")).To(BeARegularFile()) })