aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/merge_base/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to '_examples/merge_base/helpers.go')
-rw-r--r--_examples/merge_base/helpers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/_examples/merge_base/helpers.go b/_examples/merge_base/helpers.go
index b7b1ed6..179a817 100644
--- a/_examples/merge_base/helpers.go
+++ b/_examples/merge_base/helpers.go
@@ -13,7 +13,7 @@ func checkIfError(err error, code exitCode, mainReason string, v ...interface{})
return
}
- printErr(wrappErr(err, mainReason, v...))
+ printErr(wrapErr(err, mainReason, v...))
os.Exit(int(code))
}
@@ -52,7 +52,7 @@ func printCommits(commits []*object.Commit) {
}
}
-func wrappErr(err error, s string, v ...interface{}) error {
+func wrapErr(err error, s string, v ...interface{}) error {
if err != nil {
return fmt.Errorf("%s\n %s", fmt.Sprintf(s, v...), err)
}