feat: add ability to specify a custom Procfile path

This commit is contained in:
Jose Diaz-Gonzalez
2021-03-21 21:45:46 -04:00
parent 9082c51074
commit c3ece32145
5 changed files with 67 additions and 9 deletions

View File

@@ -142,7 +142,7 @@ func TriggerPostDelete(appName string) error {
// TriggerPostExtract validates a procfile
func TriggerPostExtract(appName string, tempWorkDir string) error {
procfile := filepath.Join(tempWorkDir, "Procfile")
procfile := filepath.Join(tempWorkDir, reportComputedProcfilePath(appName))
if !common.FileExists(procfile) {
return nil
}