From 6182ab90aed0491ba1ffee81a504136ccbd8f224 Mon Sep 17 00:00:00 2001 From: thomcsmits Date: Wed, 18 Sep 2024 18:03:08 -0400 Subject: [PATCH] revert back to 0 --- src/check_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_tags.py b/src/check_tags.py index 9f96a94..5d92fb3 100644 --- a/src/check_tags.py +++ b/src/check_tags.py @@ -25,7 +25,7 @@ # check if all tags used in templates are part of tags.json missing_tags = [tag for tag in template_tags if tag not in tags] -if len(missing_tags) > 1: +if len(missing_tags) > 0: raise ValueError( f"All tags in templates should exist in tags.json. The following tags are missing in tags.json: {missing_tags}" )