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 e645736 commit d29e60f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ohai/mixin/network_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ 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__)
puts File.expand_path("../../monkey_patches/win32/registry", __FILE__)

Check failure on line 32 in lib/ohai/mixin/network_helper.rb

View workflow job for this annotation

GitHub Actions / chefstyle

[Correctable] Style/ExpandPathArguments: Use expand_path('../monkey_patches/win32/registry', __dir__) instead of expand_path('../../monkey_patches/win32/registry', __FILE__).
autoload :Registry, File.expand_path("../../monkey_patches/win32/registry", __dir__)
Registry

Check warning on line 34 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 d29e60f

Please sign in to comment.