Skip to content
Snippets Groups Projects
Commit 438d51ec authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Add warning message when a linked variable doesn't exist

parent 8793b91a
No related branches found
No related tags found
No related merge requests found
Pipeline #10988 failed
......@@ -959,6 +959,9 @@ function extractLinkedVariablesName(
variableSummaryByName: VariableByName,
): void {
const variableSummary = variableSummaryByName[name]
if (variableSummary === undefined) {
console.warn("Unknown variable in extractLinkedVariablesName():", name)
}
for (const linkedVariableName of variableSummary?.linked_added_variables ??
[]) {
if (!linkedVariablesName.has(linkedVariableName)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment