Skip to content

Commit

Permalink
Simplify reference to list path
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Jan 28, 2017
1 parent dec53e6 commit b7fec8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/public_suffix/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module PublicSuffix
#
class List

DEFAULT_LIST_PATH = File.join(File.dirname(__FILE__), "..", "..", "data", "list.txt")
DEFAULT_LIST_PATH = File.expand_path("../../data/list.txt", __dir__)

# Gets the default rule list.
#
Expand Down

0 comments on commit b7fec8b

Please sign in to comment.