Hid silenced content from the logs

This commit is contained in:
Thaum Rystra
2024-10-30 17:53:39 +02:00
parent 2a5a97f04a
commit 84282cef6c
23 changed files with 163 additions and 46 deletions

View File

@@ -62,7 +62,8 @@ export default async function applyBuffProperty(
}
result.appendLog({
name: getPropertyTitle(prop),
value: logValue
value: logValue,
silenced: prop.silent,
}, [target]);
// remove all the computed fields
@@ -114,6 +115,7 @@ async function crystalizeVariables(
result.appendLog({
name: 'Error',
value: 'Variable `~target` should not be used without a property: ~target.property',
silenced: prop.silent,
}, task.targetIds);
}
return node;