lib/suma/schema_config/config.rb in suma-0.1.2 vs lib/suma/schema_config/config.rb in suma-0.1.3
- old
+ new
@@ -76,9 +76,10 @@
eval_path = Pathname.new(relative_path)
return relative_path if eval_path.absolute?
# Or based on current working directory?
return relative_path unless @path
+
# ... but if this calculates path, we end up expanding it anyway
Pathname.new(File.dirname(@path)).join(eval_path).expand_path.to_s
end