Skip to content

Commit

Permalink
Debugging now, adding puts statements
Browse files Browse the repository at this point in the history
Signed-off-by: John <[email protected]>
  • Loading branch information
johnmccrae committed Mar 21, 2024
1 parent a9b9f4e commit e645736
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ohai/mixin/network_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
puts "OOh, just about to load the monkey-patch"
module Win32
puts "OOH, autoloading the Registry patch"
puts "Here is the contents of the patch"
puts File.expand_path("../../monkey_patches/win32/registry", __dir__)
autoload :Registry, File.expand_path("../../monkey_patches/win32/registry", __dir__)
Registry

Check warning on line 33 in lib/ohai/mixin/network_helper.rb

View workflow job for this annotation

GitHub Actions / chefstyle

Lint/Void: Variable Registry used in void context.
puts "OOH, just finished autoloading the Registry patch"
Expand Down

0 comments on commit e645736

Please sign in to comment.