forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
e81b0d10ea
commit
c65808bcd2
1 changed files with 1 additions and 1 deletions
|
@ -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 === "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue