From 15049eff83d9fc6231daa4dc85cd34b9d5b2d65b Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Mon, 4 Oct 2021 11:00:55 +0300 Subject: (MODULES-11197) Update to pdk-templates 2.2.0 Includes REFERENCE.md ToC fixes for MODULES-8183. --- spec/lib/puppet_spec/files.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/lib/puppet_spec') 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 -- cgit v1.2.3