Fix issues reported by new foodcritic
[chef.git] / cookbooks / nodejs / providers / package.rb
index 4c852732fc61b71f682b70e00ebe32812ac24b2d..9d83f40ffe755cd2b42ce1cf2a34fca1936d08dd 100644 (file)
@@ -22,6 +22,8 @@ require "json"
 
 include Chef::Mixin::ShellOut
 
 
 include Chef::Mixin::ShellOut
 
+use_inline_resources
+
 def load_current_resource
   @packages = JSON.parse(shell_out("npm list --global --json").stdout)["dependencies"] || {}
 
 def load_current_resource
   @packages = JSON.parse(shell_out("npm list --global --json").stdout)["dependencies"] || {}