Skip to content

Commit

Permalink
Fix example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
philippgille authored Jul 11, 2018
1 parent 3118be9 commit 72f3a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if err != nil {
panic("Job Does Not Exist")
}

lastSuccessBuild := build.GetLastSuccessfulBuild()
lastSuccessBuild, err := build.GetLastSuccessfulBuild()
if err != nil {
panic("Last SuccessBuild does not exist")
}
Expand Down

0 comments on commit 72f3a05

Please sign in to comment.