Skip to content

Commit

Permalink
Use removeDirectoryRecursive
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jun 7, 2024
1 parent a6a8f55 commit d2aac0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-testnet/src/Testnet/Property/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ workspace prefixPath f = withFrozenCallStack $ do
ioExH _ = Handler $ \(_ :: IOException) -> pure True
-- For some reason, the temporary directory sometimes fails, lets try multiple times before we fail
H.evalIO $ R.recovering retryPolicy [ioExH] . const $
IO.removePathForcibly ws
IO.removeDirectoryRecursive ws

-- | The 'FilePath' in '(FilePath -> H.Integration ())' is the work space directory.
-- This is created (and returned) via 'H.workspace'.
Expand Down

0 comments on commit d2aac0a

Please sign in to comment.