Skip to content

Commit

Permalink
[checks] use a shorter error line to pass err113 golangci check
Browse files Browse the repository at this point in the history
Yup, it ends up checking for the line length.  132 columns are
back!!?! (http://www.righto.com/2019/01/accounting-machines-ibm-1403-and-why.html)
  • Loading branch information
arielshaqed committed Nov 25, 2020
1 parent b3acce7 commit 4871e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/export.go
Expand Up @@ -135,7 +135,7 @@ func hasContinuousExport(c catalog.Cataloger, repo, branch string) (bool, error)
return false, nil
}
if err != nil {
return false, fmt.Errorf("check whether export configuration is continuous for repo %s branch %s: %w", repo, branch, err)
return false, fmt.Errorf("check if export configuration is continuous for repo %s branch %s %w", repo, branch, err)
}
return exportConfiguration.IsContinuous, nil
}

0 comments on commit 4871e49

Please sign in to comment.