Skip to content

Commit

Permalink
remove content in parser (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
theron-wang committed Oct 22, 2024
1 parent 328a6f2 commit 8087080
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Resources/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@
if (configuration.default) {
configuration = configuration.default;
}

// transform function in content may cause exceptions
// remove `content` since we don't use it for anything
if (configuration.content) {
delete configuration.content;
}

function getValueByKeyBracket(object, key) {
const keys = key.split('.');

Expand Down

0 comments on commit 8087080

Please sign in to comment.