summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/windows_package.rb')
-rw-r--r--lib/chef/resource/windows_package.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb
index 7ccf95f653..cee82d3b63 100644
--- a/lib/chef/resource/windows_package.rb
+++ b/lib/chef/resource/windows_package.rb
@@ -16,10 +16,10 @@
# limitations under the License.
#
-require 'chef/mixin/uris'
-require 'chef/resource/package'
-require 'chef/provider/package/windows'
-require 'chef/win32/error' if RUBY_PLATFORM =~ /mswin|mingw|windows/
+require "chef/mixin/uris"
+require "chef/resource/package"
+require "chef/provider/package/windows"
+require "chef/win32/error" if RUBY_PLATFORM =~ /mswin|mingw|windows/
class Chef
class Resource
@@ -34,7 +34,7 @@ class Chef
def initialize(name, run_context=nil)
super
- @source ||= source(@package_name) if @package_name.downcase.end_with?('.msi')
+ @source ||= source(@package_name) if @package_name.downcase.end_with?(".msi")
end
# Unique to this resource