Skip to content
Snippets Groups Projects
Commit 2b8f1ca9 authored by Jack Nagel's avatar Jack Nagel
Browse files

FromPathLoader already calls expand_path

parent ce367e71
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ class Formulary
# If name was a path or mapped to a cached formula
f = FromPathLoader.new(name_or_path)
elsif File.extname(name_or_path) == ".rb"
f = FromPathLoader.new(File.expand_path(name_or_path))
f = FromPathLoader.new(name_or_path)
else
f = StandardLoader.new(name_or_path)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment