From f432bfdd23dac536aa73f17888bfa6c3abd15e1f Mon Sep 17 00:00:00 2001 From: knoflook Date: Fri, 18 Mar 2022 10:13:24 +0100 Subject: [PATCH] fix: warn when no repo on git --- pkg/lint/recipe.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/lint/recipe.go b/pkg/lint/recipe.go index fbe198fb..b0759cf8 100644 --- a/pkg/lint/recipe.go +++ b/pkg/lint/recipe.go @@ -78,6 +78,13 @@ var LintRules = map[string][]LintRule{ HowToResolve: "fill out all the metadata", Function: LintMetadataFilledIn, }, + { + Ref: "R013", + Level: "warn", + Description: "git.coopcloud.tech repo exists", + HowToResolve: "upload your recipe to git.coopcloud.tech/coop-cloud/...", + Function: LintHasRecipeRepo, + }, }, "error": { { @@ -115,13 +122,6 @@ var LintRules = map[string][]LintRule{ HowToResolve: "vendor config versions in an abra.sh", Function: LintAbraShVendors, }, - { - Ref: "R013", - Level: "error", - Description: "git.coopcloud.tech repo exists", - HowToResolve: "upload your recipe to git.coopcloud.tech/coop-cloud/...", - Function: LintHasRecipeRepo, - }, }, }