Skip to content

Commit cda8384

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(build.go): set usingDockerfile to false if procfile is found
1 parent 331d7cf commit cda8384

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func build(conf *Config, builderKey, gitSha string) error {
187187

188188
usingDockerfile := true
189189
rawProcFile, err := ioutil.ReadFile(fmt.Sprintf("%s/Procfile", tmpDir))
190-
if err != nil {
190+
if err == nil {
191191
usingDockerfile = false
192192
}
193193
var procType pkg.ProcessType

0 commit comments

Comments
 (0)