0
0
forked from toolshed/abra

fix: check published version properly

Resulted in a refactor to a new lint package.
This commit is contained in:
2021-12-26 00:00:19 +01:00
parent ba8138079f
commit 9a1cf258a5
5 changed files with 36 additions and 30 deletions

View File

@ -6,6 +6,7 @@ import (
"coopcloud.tech/abra/pkg/autocomplete"
"coopcloud.tech/abra/pkg/catalogue"
"coopcloud.tech/abra/pkg/config"
"coopcloud.tech/abra/pkg/lint"
"coopcloud.tech/abra/pkg/recipe"
stack "coopcloud.tech/abra/pkg/upstream/stack"
"coopcloud.tech/tagcmp"
@ -50,7 +51,7 @@ recipes.
logrus.Fatal(err)
}
if err := recipe.LintForErrors(r); err != nil {
if err := lint.LintForErrors(r); err != nil {
logrus.Fatal(err)
}