Skip to content

Commit

Permalink
fix(build): remove auto Procfile lookup for deis pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan McNaught committed Mar 3, 2020
1 parent 6846398 commit b4dabeb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/builds.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ func (d *DeisCmd) BuildsCreate(appID, image, procfile string) error {
if procfileMap, err = parseProcfile([]byte(procfile)); err != nil {
return err
}
} else if _, err := os.Stat("Procfile"); err == nil {
contents, err := ioutil.ReadFile("Procfile")
if err != nil {
return err
}

if procfileMap, err = parseProcfile(contents); err != nil {
return err
}
}

d.Print("Creating build... ")
Expand Down

0 comments on commit b4dabeb

Please sign in to comment.