Skip to content

Commit 000f05e

Browse files
github-actions[bot]restyled-commits
authored andcommitted
Restyled by fourmolu (#2559)
Co-authored-by: Restyled.io <[email protected]>
1 parent 2b632dd commit 000f05e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/swarm-tournament/Swarm/Web/Tournament/Validate.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@ initScenarioObject ::
174174
ExceptT ScenarioInstantiationFailure IO (Scenario Elaborated)
175175
initScenarioObject scenarioInputs content = do
176176
rawYaml <- withExceptT YamlDecodeError . except . decodeEither' $ LBS.toStrict content
177-
rawScenario <- withExceptT ScenarioParseFailure $
178-
except $
179-
parseEither (parseJSONE' scenarioInputs) rawYaml
177+
rawScenario <-
178+
withExceptT ScenarioParseFailure $
179+
except $
180+
parseEither (parseJSONE' scenarioInputs) rawYaml
180181
res <- runError @SystemFailure $ process (rawScenario :: Scenario Raw)
181182
withExceptT (ScenarioParseFailure . prettyString) (except res)
182183

0 commit comments

Comments
 (0)