summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/windows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/package/windows.rb')
-rw-r--r--lib/chef/provider/package/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/windows.rb b/lib/chef/provider/package/windows.rb
index b11bcf5192..504d5d394a 100644
--- a/lib/chef/provider/package/windows.rb
+++ b/lib/chef/provider/package/windows.rb
@@ -262,7 +262,7 @@ class Chef
if source_location.nil?
inferred_registry_type == :msi
else
- ::File.extname(source_location).casecmp(".msi").zero?
+ ::File.extname(source_location).casecmp(".msi") == 0
end
end
end