Skip to content

Commit b50ac72

Browse files
arschlesAaron Schlesinger
authored andcommitted
ref(build.go): move to a one-liner
1 parent 141db2d commit b50ac72

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,7 @@ func build(conf *Config, builderKey, gitSha string) error {
440440
Procfile: procType,
441441
Dockerfile: strings.Title(fmt.Sprintf("%t", usingDockerfile)),
442442
}
443-
buildHookResp, err := publishRelease(
444-
conf,
445-
builderKey,
446-
buildHook,
447-
)
443+
buildHookResp, err := publishRelease(conf, builderKey, buildHook)
448444
if err != nil {
449445
return fmt.Errorf("publishing release (%s)", err)
450446
}

0 commit comments

Comments
 (0)