Fix build

This commit is contained in:
Pieter Vander Vennet 2024-05-16 00:25:52 +02:00
parent c5b4cdf450
commit 136f39cf50

View file

@ -1095,7 +1095,7 @@ class MiscTagRenderingChecks extends DesugaringStep<TagRenderingConfigJson> {
if(json.freeform.type === "nsi"){
const [key, value] = json.freeform.helperArgs[0].split("=")
const path = `${json.freeform.key}s/${key}/${value}`
const suggestions = NameSuggestionIndex.getSuggestionsFor(path)
const suggestions = NameSuggestionIndex.getSuggestionsFor(json.freeform.key, key, value)
if(suggestions === undefined){
context.enters("freeform","type").err("No entry found in the 'Name Suggestion Index' for "+path)
}