summaryrefslogtreecommitdiff
path: root/lib/chef/log/winevt.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-01-14 14:08:03 +0000
committerThom May <thom@chef.io>2016-01-14 14:08:03 +0000
commit51cfbdc4d16739caac4d946fadbe678444aafe34 (patch)
tree56dfd8f1cd9fd933de27268b32402e955a43ac2b /lib/chef/log/winevt.rb
parent05064423057d4cf46f4713b81b08829cf6d20af6 (diff)
downloadchef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
Diffstat (limited to 'lib/chef/log/winevt.rb')
-rw-r--r--lib/chef/log/winevt.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/log/winevt.rb b/lib/chef/log/winevt.rb
index 84ae80b634..53127877e1 100644
--- a/lib/chef/log/winevt.rb
+++ b/lib/chef/log/winevt.rb
@@ -16,9 +16,9 @@
# limitations under the License.
#
-require 'chef/event_loggers/base'
-require 'chef/platform/query_helpers'
-require 'chef/mixin/unformatter'
+require "chef/event_loggers/base"
+require "chef/platform/query_helpers"
+require "chef/mixin/unformatter"
class Chef
class Log
@@ -36,14 +36,14 @@ class Chef
FATAL_EVENT_ID = 10104
# Since we must install the event logger, this is not really configurable
- SOURCE = 'Chef'
+ SOURCE = "Chef"
include Chef::Mixin::Unformatter
attr_accessor :sync, :formatter, :level
def initialize(eventlog=nil)
- @eventlog = eventlog || ::Win32::EventLog::open('Application')
+ @eventlog = eventlog || ::Win32::EventLog::open("Application")
end
def close