summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-12 09:55:42 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-12 09:55:42 -0800
commitb48b150cc50dbd54a719ea54a965de53d4531170 (patch)
treeca26e5887c259d6c2c1d6b9fc82247fefa8fe8c0 /lib/chef/resource/cron.rb
parent03eadde04eb219bfa8abe52d312261a5142e7266 (diff)
downloadchef-b48b150cc50dbd54a719ea54a965de53d4531170.tar.gz
convert MultilineOperationIndentation style to "indented"
this looks nicer.
Diffstat (limited to 'lib/chef/resource/cron.rb')
-rw-r--r--lib/chef/resource/cron.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb
index 26711fde16..74fa6685f1 100644
--- a/lib/chef/resource/cron.rb
+++ b/lib/chef/resource/cron.rb
@@ -126,8 +126,8 @@ class Chef
error_message << Provider::Cron::WEEKDAY_SYMBOLS.map { |sym| ":#{sym}" }.join(", ")
error_message << " and a string in crontab format"
if (arg.is_a?(Symbol) && !Provider::Cron::WEEKDAY_SYMBOLS.include?(arg)) ||
- (!arg.is_a?(Symbol) && integerize(arg) > 7) ||
- (!arg.is_a?(Symbol) && integerize(arg) < 0)
+ (!arg.is_a?(Symbol) && integerize(arg) > 7) ||
+ (!arg.is_a?(Symbol) && integerize(arg) < 0)
raise RangeError, error_message
end
rescue ArgumentError