diff options
author | Tim Smith <tsmith@chef.io> | 2020-03-23 13:30:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 13:30:31 -0700 |
commit | 5f0de126e4390d03fd7020e05936df2e8b606e2d (patch) | |
tree | 3f5c0e6a5f242d7979dc412c337b27021c6f2266 | |
parent | ac5cedbd39ad791ca3b5d997eaa97ff91ae48886 (diff) | |
download | chef-5f0de126e4390d03fd7020e05936df2e8b606e2d.tar.gz |
Update lib/chef/mixin/cron_validations.rb
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-Authored-By: pete higgins <pete@peterhiggins.org>
-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 eef14718b4..309362974c 100644 --- a/lib/chef/mixin/cron_validations.rb +++ b/lib/chef/mixin/cron_validations.rb @@ -52,7 +52,6 @@ class Chef if spec.respond_to? :to_int validate_numeric(spec, 1, 12) 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{jan feb mar apr may jun jul aug sep oct nov dec}.include? spec.downcase |