Skip to content

Commit

Permalink
fix(parsers): fixed an error where parsers weren't running (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign authored Dec 19, 2020
1 parent d1fed55 commit b0077c3
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 60 deletions.
111 changes: 52 additions & 59 deletions examples/advanced/yaml-tokens/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/extend.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function extend(opts) {
PROPERTY_VALUE_COLLISIONS,
`Collision detected at: ${prop.path.join('.')}! Original value: ${prop.target[prop.key]}, New value: ${prop.copy[prop.key]}`
);
}, to_ret.parsers);
}, true, to_ret.parsers);

if(GroupMessages.count(PROPERTY_VALUE_COLLISIONS) > 0) {
var collisions = GroupMessages.flush(PROPERTY_VALUE_COLLISIONS).join('\n');
Expand Down

0 comments on commit b0077c3

Please sign in to comment.