Skip to content

Commit

Permalink
Move dictionaries to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jongirard committed Mar 7, 2024
1 parent 7e82e49 commit 7df1f85
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/impl/dictionaries.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule UniqueNamesGenerator.Impl.Dictionaries do
@doc false
@spec expand_word_list(String.t) :: [String.t]
def expand_word_list(dictionary) do
"../../assets/#{dictionary}.txt"
"../dictionaries/#{dictionary}.txt"
|> Path.expand(__DIR__)
|> File.read()
|> parse_file(dictionary)
Expand Down

0 comments on commit 7df1f85

Please sign in to comment.