Skip to content

Commit 5220946

Browse files
authored
Sort @standard_token_types for reproducible compilation (#75)
1 parent 27c15c8 commit 5220946

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/makeup/token/utils.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ defmodule Makeup.Token.Utils do
9595

9696
@precedence Hierarchy.hierarchy_to_precedence(@hierarchy)
9797
@token_to_class_map Hierarchy.style_to_class_map(@hierarchy)
98-
@standard_token_types Map.keys(@token_to_class_map)
98+
@standard_token_types @token_to_class_map |> Map.keys() |> Enum.sort()
9999

100100
def precedence do
101101
@precedence

0 commit comments

Comments
 (0)