Skip to content

Commit

Permalink
#402 Add erd-go as alternative to erd
Browse files Browse the repository at this point in the history
  • Loading branch information
pepijnve authored Mar 21, 2023
1 parent 62f611d commit 3743ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor-diagram/erd/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def supported_formats
end

def convert(source, format, options)
erd_path = source.find_command('erd')
erd_path = source.find_command('erd', :alt_cmds => ['erd-go'])
dot_path = source.find_command('dot', :alt_attrs => ['graphvizdot'])

dot_code = generate_stdin(erd_path, format.to_s, source.to_s) do |tool_path, output_path|
Expand Down

0 comments on commit 3743ec5

Please sign in to comment.