Skip to content

Commit

Permalink
fix(eo-phi-normalizer): use new.yaml by default
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Dec 31, 2024
1 parent 3758b58 commit f2afef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eo-phi-normalizer/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ data CommandParser = CommandParser
}

rulesFile :: String
rulesFile = "yegor.yaml"
rulesFile = "new.yaml"

commandParser :: CommandParser
commandParser =
Expand Down Expand Up @@ -607,7 +607,7 @@ main = withCorrectLocale do
-- Temporary hack while rules are not stabilized.
-- Nothing -> return (True, "Yegor's rules (builtin)", [fastYegorInsideOutAsRule])
Nothing -> do
ruleSet :: RuleSet <- decodeThrow $(embedFileRelative "test/eo/phi/rules/yegor.yaml")
ruleSet :: RuleSet <- decodeThrow $(embedFileRelative "test/eo/phi/rules/new.yaml")
return (False, ruleSet.title, convertRuleNamed <$> ruleSet.rules)
unless (single || json || latex) $ logStrLn ruleSetTitle
bindingsWithDeps <- case deepMergePrograms (program' : deps) of
Expand Down

0 comments on commit f2afef5

Please sign in to comment.