Skip to content

Commit

Permalink
Use </> to attempt to fix windows unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Nov 30, 2023
1 parent 6a7bfdf commit b3938f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/local-cluster/lib/Cardano/Wallet/Launch/Cluster.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,10 +1031,11 @@ clusterEraFromEnv =
_ -> die $ var ++ ": unknown era"
withDefault = fromMaybe maxBound

localClusterConfigsFromEnv :: IO (Tagged "cluster-configs" String)
localClusterConfigsFromEnv :: IO (Tagged "cluster-configs" FilePath)
localClusterConfigsFromEnv = lookupEnvNonEmpty "LOCAL_CLUSTER_CONFIGS"
<&> Tagged @"cluster-configs"
. fromMaybe "../local-cluster/test/data/cluster-configs"
. fromMaybe
("../local-cluster" </> "test" </> "data" </> "cluster-configs")

clusterEraToString :: ClusterEra -> String
clusterEraToString = \case
Expand Down

0 comments on commit b3938f4

Please sign in to comment.