lib/js_dependency.rb in js_dependency-0.3.11 vs lib/js_dependency.rb in js_dependency-0.3.12
- old
+ new
@@ -69,10 +69,10 @@
mermaid_root.add(parent_path, child_path)
end
nodes += mermaid_root.export_nodes(name_level: name_level, src_path: src_path)
end
- output = (["flowchart LR"] + nodes.uniq + styles.uniq).join("\n")
+ output = "#{(["flowchart LR"] + nodes.uniq + styles.uniq).join("\n")}\n"
output_pathname&.write(output)
output
end
# @param [String] src_path