Skip to content

Commit

Permalink
Update application.go
Browse files Browse the repository at this point in the history
Co-authored-by: David O'Sullivan <[email protected]>
  • Loading branch information
sambhav and pivotal-david-osullivan authored Sep 6, 2022
1 parent a4fb625 commit 37ac145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (a Application) Contribute(layer libcnb.Layer) (libcnb.Layer, error) {
includeDirs, iset := a.ArtifactResolver.ConfigurationResolver.Resolve("BP_INCLUDE_FILES")
if includeDirs != "" {
if err := logic.Include(a.ApplicationPath, includeDirs); err != nil {
return libcnb.Layer{}, err
return libcnb.Layer{}, fmt.Errorf("unable to perform source-removal 'include' \n%w", err)
}
}
excludeDirs, eset := a.ArtifactResolver.ConfigurationResolver.Resolve("BP_EXCLUDE_FILES")
Expand Down

0 comments on commit 37ac145

Please sign in to comment.