Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 17, 2021
1 parent d622f79 commit 10f82cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet_x/bodeco/archive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def win_7zip
'C:\\Program Files\\7-Zip\\7z.exe'
elsif File.directory?('C:\\Program Files (x86)\\7-zip')
'C:\\Program Files (x86)\\7-Zip\\7z.exe'
elsif system("where 7z.exe")
elsif system('where 7z.exe')
'7z.exe'
elsif @file_path =~ %r{.zip"$}
# Fallback to powershell for zipfiles - this works with windows
Expand Down

0 comments on commit 10f82cb

Please sign in to comment.