1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-10-26 15:35:11 +03:00

Show configuration with --debug

This commit is contained in:
Brandon Chinn 2023-06-19 12:46:21 -07:00 committed by Mark Karpov
parent a058c0f49a
commit 210d8f96f7

View File

@ -91,6 +91,8 @@ ormolu cfgWithIndices path originalInput = do
fixityMap =
packageFixityMap
(overapproximatedDependencies cfg) -- memoized on the set of dependencies
when (cfgDebug cfg) $ do
traceM $ unwords ["*** CONFIG ***", show cfg]
(warnings, result0) <-
parseModule' cfg fixityMap OrmoluParsingFailed path originalInput
when (cfgDebug cfg) $ do