Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
Removes deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Moran authored and ryanmoran committed Sep 26, 2022
1 parent eff9709 commit 873063c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 "))
})
Expand Down
1 change: 0 additions & 1 deletion integration/default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down

0 comments on commit 873063c

Please sign in to comment.