Skip to content

Commit

Permalink
Optimize away pixel rules, if applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbiehl committed Jan 14, 2025
1 parent 7913260 commit 4b9bf5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Scarf/Gateway/Rule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ optimizeRules (rule : rules) =
}
)
ys
(RulePixel pixel1, RulePixel pixel2)
| pixel1 == pixel2 -> go x ys
(RulePythonV1 r1, RulePythonV1 r2) ->
let mergeFiles :: Text -> PythonPackage -> PythonPackage -> PythonPackage
mergeFiles packageName p1 p2 =
Expand Down

0 comments on commit 4b9bf5e

Please sign in to comment.