Skip to content

Commit 5343acc

Browse files
committed
shuffle animals in init
1 parent 829a861 commit 5343acc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/MacroTools.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ const animals_file = joinpath(@__DIR__, "..", "animals.txt")
3232
_animals = split(read(animals_file, String))
3333
resize!(animals, length(_animals))
3434
animals .= Symbol.(lowercase.(_animals))
35-
Compat.Random.shuffle!(animals)
35+
36+
function __init__()
37+
Compat.Random.shuffle!(animals)
38+
end
3639

3740
end # module

0 commit comments

Comments
 (0)