We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64d38b2 commit 6a26cd4Copy full SHA for 6a26cd4
1 file changed
pkg/gitreceive/build.go
@@ -305,10 +305,6 @@ func prettyPrintJSON(data interface{}) (string, error) {
305
306
func getProcfile(dirName string, stack map[string]string) (dryccAPI.ProcessType, error) {
307
procfile := dryccAPI.ProcessType{}
308
- _, err := os.Stat(fmt.Sprintf("%s/project.toml", dirName))
309
- if err == nil || stack["name"] == "container" {
310
- return procfile, nil
311
- }
312
if _, err := os.Stat(fmt.Sprintf("%s/Procfile", dirName)); err == nil {
313
rawProcFile, err := ioutil.ReadFile(fmt.Sprintf("%s/Procfile", dirName))
314
if err != nil {
0 commit comments