From a5e74f5b5d0cbfa6573297b6d58f43bfb85b1f7a Mon Sep 17 00:00:00 2001 From: ktro2828 Date: Tue, 2 Dec 2025 21:37:14 +0900 Subject: [PATCH] fix: pass if the reference token is empty string '' Signed-off-by: ktro2828 --- t4_devkit/sanity/reference/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/t4_devkit/sanity/reference/base.py b/t4_devkit/sanity/reference/base.py index 28370f6..458d729 100644 --- a/t4_devkit/sanity/reference/base.py +++ b/t4_devkit/sanity/reference/base.py @@ -56,6 +56,7 @@ def check(self, context: SanityContext) -> list[Reason] | None: ) for record in source_records if record[self.reference] not in target_tokens + and record[self.reference] != "" # NOTE: success if the reference token is "" and self.is_additional_condition_ok(record) ] or None