From c65808bcd29fce450ae8e36a5754bfd6882cf9c1 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 10 Apr 2025 02:05:12 +0200 Subject: [PATCH] Fix build --- src/Logic/Tags/TagUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logic/Tags/TagUtils.ts b/src/Logic/Tags/TagUtils.ts index 1ea422ffe..ba862fa18 100644 --- a/src/Logic/Tags/TagUtils.ts +++ b/src/Logic/Tags/TagUtils.ts @@ -840,7 +840,7 @@ export class TagUtils { } const withRegex = TagUtils.parseRegexOperator(tag) if (withRegex != null) { - if (withRegex.value === "*" && withRegex.invert) { + if (withRegex.value === "*" && withRegex.invert && typeof withRegex.key !== "string") { throw `Don't use 'key!~*' - use 'key=' instead (empty string as value (in the tag ${tag} while parsing ${context})` } if (withRegex.value === "") {