mirror of
https://github.com/grdl/git-get.git
synced 2026-02-08 01:44:16 +00:00
Add test parallelization and re-enable paralleltest linter
This commit is contained in:
@@ -157,8 +157,7 @@ func (r *Repo) Branches() ([]string, error) {
|
||||
func (r *Repo) Upstream(branch string) (string, error) {
|
||||
out, err := run.Git("rev-parse", "--abbrev-ref", "--symbolic-full-name", branch+"@{upstream}").OnRepo(r.path).AndCaptureLine()
|
||||
if err != nil {
|
||||
// TODO: no upstream will also throw an error.
|
||||
// lint:ignore nilerr fix when working on TODO
|
||||
//nolint:nilerr // TODO: no upstream will also throw an error.
|
||||
return "", nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user