Skip to content

Commit

Permalink
Try to fix errors from test_bag_courier by checking for dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ssciolla committed Apr 2, 2024
1 parent c817334 commit 13df3a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_bag_courier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def setup
@prep_path = File.join(@test_dir_path, "prep")
@export_path = File.join(@test_dir_path, "export")
@package_path = File.join(@test_dir_path, "package")
FileUtils.rm_r(@test_dir_path)
FileUtils.rm_r(@test_dir_path) if File.exist?(@test_dir_path)
FileUtils.mkdir_p([@test_dir_path, @prep_path, @export_path, @package_path])
innerbag = BagAdapter::BagAdapter.new(@package_path)

Expand Down

0 comments on commit 13df3a6

Please sign in to comment.