Skip to content

Commit 0638468

Browse files
committed
remove unnecessary cleanup
1 parent 48321a3 commit 0638468

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Diff for: spec/fake_lib_dir.rb

-12
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@ def in_pristine_fake_libraries_dir(example)
4646
# cool, already done
4747
end
4848
end
49-
ensure
50-
# the tmp dir will be cleaned up automatically, but if we did our own symlink hack then here is the place to clean it up
51-
if ArduinoCI::Host.needs_symlink_hack?
52-
stdout, stderr, exitstatus = Open3.capture3('cmd.exe', "/c rmdir /s /q #{ArduinoCI::Host.pathname_to_windows(d)}")
53-
unless exitstatus.success?
54-
puts "====== rmdir of #{d} failed"
55-
puts stdout
56-
puts stderr
57-
end
58-
end
5949
end
6050
end
61-
62-
6351
end

0 commit comments

Comments
 (0)