Always resolve one symlink when loading formula files
This means that tapped formula will always have the correct path, and we can stop calling realpath everywhere.
This commit is contained in:
parent
f7f200591c
commit
d0831c4ef7
@ -39,7 +39,7 @@ class Formulary
|
||||
|
||||
def initialize(name, path)
|
||||
@name = name
|
||||
@path = path
|
||||
@path = path.resolved_path
|
||||
@class_name = Formulary.class_s(name)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user