diff options
| author | Gabriel Nagy <gabriel.nagy@puppet.com> | 2021-10-04 11:00:55 +0300 |
|---|---|---|
| committer | Gabriel Nagy <gabriel.nagy@puppet.com> | 2021-10-04 11:20:54 +0300 |
| commit | 15049eff83d9fc6231daa4dc85cd34b9d5b2d65b (patch) | |
| tree | be9d5fd8bd1be4909f91b306b7221ada9331bba3 /spec/lib | |
| parent | ec3ca459f0f3d774119b8fba37390bf212c06923 (diff) | |
| download | puppet-mailalias_core-15049eff83d9fc6231daa4dc85cd34b9d5b2d65b.tar.gz puppet-mailalias_core-15049eff83d9fc6231daa4dc85cd34b9d5b2d65b.tar.bz2 | |
(MODULES-11197) Update to pdk-templates 2.2.0
Includes REFERENCE.md ToC fixes for MODULES-8183.
Diffstat (limited to 'spec/lib')
| -rw-r--r-- | spec/lib/puppet_spec/files.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/puppet_spec/files.rb b/spec/lib/puppet_spec/files.rb index 5fef530..8715e09 100644 --- a/spec/lib/puppet_spec/files.rb +++ b/spec/lib/puppet_spec/files.rb @@ -10,10 +10,10 @@ module PuppetSpec::Files def self.cleanup until @global_tempfiles.empty? path = @global_tempfiles.pop - begin - Dir.unstub(:entries) - FileUtils.rm_rf path, secure: true - end + + Dir.unstub(:entries) + FileUtils.rm_rf path, secure: true + end end |
