Skip to content

Commit

Permalink
appcds
Browse files Browse the repository at this point in the history
* small refactoring
  • Loading branch information
anthonydahanne committed Feb 5, 2024
1 parent 3fae1c4 commit bc151be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error) {
return libcnb.BuildResult{}, fmt.Errorf("unable to read manifest in %s\n%w", context.Application.Path, err)
}

version, ok := manifest.Get("Spring-Boot-Version")
cds, _ := sherpa.FileExists("run-app.jar")
result := libcnb.NewBuildResult()

Expand Down Expand Up @@ -88,6 +87,7 @@ func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error) {
return result, nil
}

version, ok := manifest.Get("Spring-Boot-Version")
if !ok {
// this isn't a boot app, return without printing title
return libcnb.BuildResult{}, nil
Expand Down

0 comments on commit bc151be

Please sign in to comment.