From 3eb6e32ae623aa8d7c8978851a0313c995e699b5 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Mon, 11 Dec 2023 13:53:01 +0100 Subject: [PATCH] rubocop: resolve Style/HashSyntax --- lib/facter/archive_windir.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facter/archive_windir.rb b/lib/facter/archive_windir.rb index 98e9d1d3..4486444e 100644 --- a/lib/facter/archive_windir.rb +++ b/lib/facter/archive_windir.rb @@ -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