From f073747786abbe6ada55ed24b696a03e39c3c45d Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 9 Feb 2016 07:53:56 -0800 Subject: auto fixing some rubocops Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall --- lib/chef/monologger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/monologger.rb') diff --git a/lib/chef/monologger.rb b/lib/chef/monologger.rb index 77ca54d7eb..49f744e314 100644 --- a/lib/chef/monologger.rb +++ b/lib/chef/monologger.rb @@ -64,7 +64,7 @@ class MonoLogger < Logger private def open_logfile(filename) - if (FileTest.exist?(filename)) + if FileTest.exist?(filename) open(filename, (File::WRONLY | File::APPEND)) else create_logfile(filename) -- cgit v1.2.1