Skip to content

Commit fccbba5

Browse files
author
Dean Karn
committed
Update README example typo
1 parent 0d7e42c commit fccbba5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func HandleRelease(payload interface{}, header webhooks.Header) {
7575
pl := payload.(github.ReleasePayload)
7676

7777
// only want to compile on full releases
78-
if pl.Release.Draft || pl.Release.Prelelease || pl.Release.TargetCommitish != "master" {
78+
if pl.Release.Draft || pl.Release.Prerelease || pl.Release.TargetCommitish != "master" {
7979
return
8080
}
8181

@@ -93,7 +93,6 @@ func HandlePullRequest(payload interface{}, header webhooks.Header) {
9393
// Do whatever you want from here...
9494
fmt.Printf("%+v", pl)
9595
}
96-
9796
```
9897

9998
Single receiver for events you subscribe to

0 commit comments

Comments
 (0)