diff options
| author | Shulhan <ms@kilabit.info> | 2018-12-14 19:57:23 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-12-14 19:57:23 +0700 |
| commit | b3c276c5af73495ce178761442fca5e4144fdb17 (patch) | |
| tree | c87786eb1e69be4ebf2556835f5b6c216c556b8e /package_git.go | |
| parent | 9d3a546df6d696ada07115f638e9378e46a318a5 (diff) | |
| download | beku-b3c276c5af73495ce178761442fca5e4144fdb17.tar.xz | |
all: minimize naked return on long functions
Diffstat (limited to 'package_git.go')
| -rw-r--r-- | package_git.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package_git.go b/package_git.go index 67c5323..6e88fb6 100644 --- a/package_git.go +++ b/package_git.go @@ -80,7 +80,7 @@ func (pkg *Package) gitInstall() (err error) { } } - return + return nil } // @@ -140,7 +140,7 @@ func (pkg *Package) gitGetBranch() (err error) { if debug.Value >= 1 { fmt.Printf("= gitGetBranch: %s\n", pkg.RemoteBranch) } - return + return nil } // |
