Skip to content
This repository was archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Respect file path when rendering graph
Browse files Browse the repository at this point in the history
  • Loading branch information
floriandejonckheere committed Apr 27, 2024
1 parent 447a5bc commit 8aab8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mosaik/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def visualize_graph
.call(directed: true)
end

file = File.basename(options[:output], ".*")
file = options[:output].delete_suffix(".csv")

# Write visualization to file
debug visualizer.to_dot
Expand Down

0 comments on commit 8aab8c0

Please sign in to comment.