Skip to content

Commit

Permalink
Merge pull request #514 from bastelfreak/rubo
Browse files Browse the repository at this point in the history
rubocop: resolve Style/HashSyntax
  • Loading branch information
bastelfreak authored Dec 12, 2023
2 parents b7f5a05 + 3eb6e32 commit d86f24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facter/archive_windir.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

Facter.add(:archive_windir) do
confine :osfamily => :windows # rubocop:disable Style/HashSyntax
confine osfamily: :windows
setcode do
program_data = `echo %SYSTEMDRIVE%\\ProgramData`.chomp
if File.directory? program_data
Expand Down

0 comments on commit d86f24b

Please sign in to comment.