aboutsummaryrefslogtreecommitdiffstats
path: root/examples/latest/latest.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/latest/latest.go')
-rw-r--r--examples/latest/latest.go2
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)
}