diff options
author | Josh Cooper <joshcooper@users.noreply.github.com> | 2021-08-17 09:46:58 -0700 |
---|---|---|
committer | Josh Cooper <joshcooper@users.noreply.github.com> | 2021-08-17 09:46:58 -0700 |
commit | 54db10d91bb5da04f8f4fb9d66138aba9e5e38a4 (patch) | |
tree | 8a70bd2e0315210d8ec8b6d7cc5e9a659b1c6449 /lib/puppet/type | |
parent | a3dcc2e0070e6223342a5ce72f9003fd12c1eab9 (diff) | |
download | puppet-cron_core-54db10d91bb5da04f8f4fb9d66138aba9e5e38a4.tar.gz puppet-cron_core-54db10d91bb5da04f8f4fb9d66138aba9e5e38a4.tar.bz2 |
(maint) Fix rubocop errors
Took the safest route and disabled cops either globally in .rubocop.yml
for just for specific cases in lib/
Diffstat (limited to 'lib/puppet/type')
-rw-r--r-- | lib/puppet/type/cron.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb index a536410..37188b4 100644 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -118,7 +118,7 @@ Puppet::Type.newtype(:cron) do end end - def is_to_s(value = @is) # rubocop: disable Style/PredicateName + def is_to_s(value = @is) # rubocop: disable Naming/PredicateName if value if value.is_a?(Array) && (name == :command || value[0].is_a?(Symbol)) value = value[0] |