Skip to content

Commit

Permalink
rubocop: resolve Style/HashSyntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Dec 11, 2023
1 parent b7f5a05 commit 3eb6e32
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 3eb6e32

Please sign in to comment.