Skip to content

Commit

Permalink
Procfile buildpack now uses command and args
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Apr 17, 2024
1 parent 31d3f40 commit 62d0a68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builder/build/metadatatoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

type BuildpackMetadataTomlProcess struct {
Command []string `toml:"command"`
Args []string `toml:"args"`
Type string `toml:"type"`
BuildpackID string `toml:"buildpack_id"`
}
Expand All @@ -37,7 +38,7 @@ func (m *BuildpackMetadataToml) UpdateAppPackToml(a *AppPackToml) {
if process.BuildpackID == "heroku/ruby" && (process.Type == "rake" || process.Type == "console") {
continue
}
a.Services[process.Type] = AppPackTomlService{Command: commandSliceToString(process.Command)}
a.Services[process.Type] = AppPackTomlService{Command: commandSliceToString(append(process.Command, process.Args...))}
}
}

Expand Down

0 comments on commit 62d0a68

Please sign in to comment.