Skip to content

Commit

Permalink
Merge pull request #27 from m0dular/aph/trailing-newline
Browse files Browse the repository at this point in the history
Change STDOUT.write to STDOUT.puts
  • Loading branch information
jarretlavallee authored Dec 11, 2019
2 parents 4e4fc3b + 9034abc commit 4b2495b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/json2timeseriesdb
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ data_files.each do |filename|
if $options[:host]
$net_output.write(converted_data)
else
STDOUT.write(converted_data)
STDOUT.puts(converted_data)
end
rescue => e
STDERR.puts "ERROR: #{filename}: #{e.message}"
Expand Down

0 comments on commit 4b2495b

Please sign in to comment.