diff options
Diffstat (limited to 'examples/latest')
-rw-r--r-- | examples/latest/latest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/latest/latest.go b/examples/latest/latest.go index 84aaf48..b443abe 100644 --- a/examples/latest/latest.go +++ b/examples/latest/latest.go @@ -14,7 +14,7 @@ func main() { panic(err) } - if err := r.Pull(git.DefaultRemoteName, "refs/heads/master"); err != nil { + if err = r.Pull(git.DefaultRemoteName, "refs/heads/master"); err != nil { panic(err) } |