mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-15 17:13:46 +01:00
Add imports checks to linter (#3056)
supersedes https://github.com/woodpecker-ci/woodpecker/pull/874 --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -94,7 +94,7 @@ func runExec(c *cli.Context, file, repoPath string) error {
|
||||
|
||||
axes, err := matrix.ParseString(string(dat))
|
||||
if err != nil {
|
||||
return fmt.Errorf("Parse matrix fail")
|
||||
return fmt.Errorf("parse matrix fail")
|
||||
}
|
||||
|
||||
if len(axes) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user