Skip to content

Commit

Permalink
Pass system name to parseProperties for proper warning messages (#5463)
Browse files Browse the repository at this point in the history
Co-authored-by: Noeri Huisman <[email protected]>
  • Loading branch information
mrxz and mrxz authored Feb 14, 2024
1 parent 3128eb5 commit 58c960e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ Component.prototype = {
if (this.isSingleProperty) { return parseProperty(data, schema); }
}

return parseProperties(data, schema, undefined, this.name, silent);
return parseProperties(data, schema, false, this.name, silent);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion src/core/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ System.prototype = {
if (isSingleProp(schema)) {
this.data = parseProperty(rawData, schema);
} else {
this.data = parseProperties(styleParser.parse(rawData) || {}, schema);
this.data = parseProperties(styleParser.parse(rawData) || {}, schema, false, this.name);
}
},

Expand Down

0 comments on commit 58c960e

Please sign in to comment.