Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2025-02-10 02:04:58 +01:00
parent cd9e03dd6f
commit b300fffdc5
156 changed files with 4436 additions and 1318 deletions

View file

@ -129,8 +129,8 @@ export default class TagRenderingConfig {
this.id
)
}
if(json.labels && !Array.isArray( json.labels)){
throw (`Invalid labels at ${context}: labels should be a list of strings, but got a ${typeof json.labels}`)
if (json.labels && !Array.isArray(json.labels)) {
throw `Invalid labels at ${context}: labels should be a list of strings, but got a ${typeof json.labels}`
}
this.labels = json.labels ?? []