Skip to content

Commit

Permalink
absolute pathname for :customize: #77
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Aug 22, 2024
1 parent f1c54e6 commit 2a50850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/metanorma/generic/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def document(node)
if node.attr("customize")
p = node.attr("customize")
(Pathname.new p).absolute? or
p = File.join(Metanorma::Utils::localdir(node), p)
p = File.expand(File.join(Metanorma::Utils::localdir(node), p))
read_config_file(p)
end
super
Expand Down

0 comments on commit 2a50850

Please sign in to comment.