From ce83a2cbc4235667f235f0c8a354bc81e1c56ca4 Mon Sep 17 00:00:00 2001 From: Ryan Moran Date: Mon, 26 Sep 2022 14:49:05 -0700 Subject: [PATCH] Removes deprecation warning --- build.go | 1 - build_test.go | 1 - integration/default_test.go | 1 - 3 files changed, 3 deletions(-) diff --git a/build.go b/build.go index 19f42c0..1849659 100644 --- a/build.go +++ b/build.go @@ -23,7 +23,6 @@ func Build( return func(context packit.BuildContext) (packit.BuildResult, error) { logger.Title("%s %s", context.BuildpackInfo.Name, context.BuildpackInfo.Version) - logger.Process("WARNING: This buildpack is deprecated. It will be removed within 30 days. See https://github.com/paketo-buildpacks/go/issues/622.") logger.Break() logger.Process("Executing build process") diff --git a/build_test.go b/build_test.go index d4c4630..bd93123 100644 --- a/build_test.go +++ b/build_test.go @@ -96,7 +96,6 @@ func testBuild(t *testing.T, context spec.G, it spec.S) { Expect(buildProcess.ExecuteCall.Receives.Workspace).To(Equal(workingDir)) Expect(buildProcess.ExecuteCall.Returns.Err).To(BeNil()) Expect(logs.String()).To(ContainSubstring("Some Buildpack some-version")) - Expect(logs.String()).To(ContainSubstring("WARNING: This buildpack is deprecated. It will be removed within 30 days. See https://github.com/paketo-buildpacks/go/issues/622.")) Expect(logs.String()).To(ContainSubstring("Executing build process")) Expect(logs.String()).To(ContainSubstring("Completed in ")) }) diff --git a/integration/default_test.go b/integration/default_test.go index 553da0b..8a8429b 100644 --- a/integration/default_test.go +++ b/integration/default_test.go @@ -65,7 +65,6 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { Expect(logs).To(ContainLines( MatchRegexp(fmt.Sprintf(`%s \d+\.\d+\.\d+`, settings.Buildpack.Name)), - " WARNING: This buildpack is deprecated. It will be removed within 30 days. See https://github.com/paketo-buildpacks/go/issues/622.", "", " Executing build process", " Running 'dep ensure'",