Skip to content

Commit

Permalink
Ensure gnuplot source always ends with a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
pepijnve committed Oct 13, 2024
1 parent 4e08ec1 commit d17f103
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/asciidoctor-diagram/gnuplot/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def convert(source, format, options)

code << "\n"
code << source.to_s
code << "\n"

generate_stdin_stdout(source.find_command('gnuplot'), code) do |tool|
{
Expand Down

0 comments on commit d17f103

Please sign in to comment.