We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-newrelic/lib/util/objects.js
Line 16 in a7786f3
Looking at the current usage of this function, it ultimately goes to:
node-newrelic/lib/config/merge-server-config.js
Line 45 in a7786f3
However, [] will pass the isSimpleObject test. I do believe this is a bug. We can improve this by:
[]
isSimpleObject
return Object.prototype.toString.call(thing) === '[object Object]' && thing !== null
The text was updated successfully, but these errors were encountered:
https://new-relic.atlassian.net/browse/NR-179900
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
node-newrelic/lib/util/objects.js
Line 16 in a7786f3
Looking at the current usage of this function, it ultimately goes to:
node-newrelic/lib/config/merge-server-config.js
Line 45 in a7786f3
However,
[]
will pass theisSimpleObject
test. I do believe this is a bug. We can improve this by:The text was updated successfully, but these errors were encountered: