Skip to content

Conversation

@tkishel
Copy link
Contributor

@tkishel tkishel commented Apr 9, 2020

Call ::JSON to ensure it references the JSON library
from Ruby’s standard library instead of a random JSON namespace
that might be in scope due to user code.

For example::

https://github.com/puppetlabs/pdk/blob/master/lib/pdk/config/json.rb

Call ::JSON to ensure it references the JSON library
from Ruby’s standard library instead of a random JSON namespace
that might be in scope due to user code.

For example::

https://github.com/puppetlabs/pdk/blob/master/lib/pdk/config/json.rb
@tkishel tkishel requested a review from a team as a code owner April 9, 2020 20:29
@DavidS DavidS added the bugfix label Apr 14, 2020
@DavidS DavidS changed the title (MODULES-10623) scope calls to JSON methods (MODULES-10623) explicitly top-scope calls to JSON methods Apr 14, 2020
@DavidS DavidS merged commit b1e80b4 into puppetlabs:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants