diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-03-23 13:31:59 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-23 13:31:59 -0700 |
commit | 8123ca42caddfd6873daf23ddc2f750a9e8983ed (patch) | |
tree | 59a29c66c3aa8093ba0d4b49daed8b319a24e249 | |
parent | 5f0de126e4390d03fd7020e05936df2e8b606e2d (diff) | |
download | chef-8123ca42caddfd6873daf23ddc2f750a9e8983ed.tar.gz |
Remove another duplicate value check
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/mixin/cron_validations.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/mixin/cron_validations.rb b/lib/chef/mixin/cron_validations.rb index 309362974c..df5540436a 100644 --- a/lib/chef/mixin/cron_validations.rb +++ b/lib/chef/mixin/cron_validations.rb @@ -71,7 +71,6 @@ class Chef if spec.respond_to? :to_int validate_numeric(spec, 0, 7) elsif spec.respond_to? :to_str - return true if spec == "*" # Named abbreviations are permitted but not as part of a range or with stepping return true if %w{sun mon tue wed thu fri sat}.include? spec.downcase |