Windows hash check style fixes so it passes linter
MODIFY
recipes/_install-windows.rb
recipes/_install-windows.rb
@@ -76,14 +76,14 @@ unsafe_hashsums = [
'78b2bb2b231bcc185eb73dd367bfb6cb8a5d45ba93a46a7890fd607dc9188194'
]
-ruby_block "validate_safe_msi" do
+ruby_block 'validate_safe_msi' do
block do
require 'digest'
sha256 = Digest::SHA256.file(temp_file)
- raise "The file downloaded matches a known unsafe MSI - Agent versions 6.14.0/1 have been blacklisted. please use a different release. "\
- "See http://dtdg.co/win-614-fix" if unsafe_hashsums.include? sha256.hexdigest
+ raise 'The file downloaded matches a known unsafe MSI - Agent versions 6.14.0/1 have been blacklisted. please use a different release. '\
+ 'See http://dtdg.co/win-614-fix' if unsafe_hashsums.include? sha256.hexdigest
end
action :nothing

Windows hash check style fixes so it passes linter