Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Galazyn <[email protected]>
  • Loading branch information
smelc and carbolymer authored Jan 31, 2025
1 parent 55313f5 commit deb17c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-testnet/src/Testnet/Property/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runTestnet tnOpts tn = do


testnetProperty :: CardanoTestnetOptions -> (Conf -> H.Integration ()) -> H.Property
testnetProperty CardanoTestnetOptions{cardanoOutputDir} tn =
testnetProperty CardanoTestnetOptions{cardanoOutputDir} runTestnet =
case cardanoOutputDir of
Nothing -> do
integrationWorkspace "testnet" $ \workspaceDir -> do
Expand All @@ -80,7 +80,7 @@ testnetProperty CardanoTestnetOptions{cardanoOutputDir} tn =
else do
liftIO $ createDirectory absUserOutputDir
H.note_ $ "Created " <> absUserOutputDir)
go $ Conf $ TmpAbsolutePath absUserOutputDir
go $ mkConf absUserOutputDir
where
go conf = do
-- Fork a thread to keep alive indefinitely any resources allocated by testnet.
Expand Down

0 comments on commit deb17c2

Please sign in to comment.