Skip to content

Commit

Permalink
Ensure config._flow is non-enumerable so is ignored by JSON.stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Mar 18, 2019
1 parent a242475 commit 962a291
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ module.exports = {
}
}
try {
conf._flow = flow;
Object.defineProperty(conf,'_flow', {value: flow, enumerable: false, writable: true })
newNode = new nodeTypeConstructor(conf);
} catch (err) {
Log.log({
Expand Down

0 comments on commit 962a291

Please sign in to comment.