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 /spec | |
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 'spec')
-rw-r--r-- | spec/lib/puppet_spec/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/puppet_spec/files.rb b/spec/lib/puppet_spec/files.rb index af0e936..7a43100 100644 --- a/spec/lib/puppet_spec/files.rb +++ b/spec/lib/puppet_spec/files.rb @@ -12,7 +12,7 @@ module PuppetSpec::Files begin allow(Dir).to receive(:entries).and_call_original FileUtils.rm_rf path, secure: true - rescue Errno::ENOENT # rubocop:disable Lint/HandleExceptions + rescue Errno::ENOENT # nothing to do end end |