app/server.rb in sqlui-0.1.30 vs app/server.rb in sqlui-0.1.31
- old
+ new
@@ -61,10 +61,10 @@
contents = File.read(path)
comment_lines = contents.split("\n").take_while do |l|
l.start_with?('--')
end
filename = File.basename(path)
- description = comment_lines.map { |l| l.sub(/^-- */, '') }.join
+ description = comment_lines.map { |l| l.sub(/^-- */, '') }.join("\n")
[
filename,
{
filename: filename,
description: description,