Skip to content

Commit 8fcd930

Browse files
authored
Merge pull request #32 from sj26/fix-readme-replace-lines
Fix readme replacement
2 parents 014d579 + e0b3861 commit 8fcd930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/schema_dev/readme.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def sub_template(template, lines)
5858
replace_block(lines, %r{^\s*<!-- SCHEMA_DEV: TEMPLATE #{key}}) do |contents|
5959
contents << "<!-- SCHEMA_DEV: TEMPLATE #{key} - begin -->\n"
6060
contents << "<!-- These lines are auto-inserted from a schema_dev template -->\n"
61-
contents << template.readlines
61+
contents.concat template.readlines
6262
contents << "\n"
6363
contents << "<!-- SCHEMA_DEV: TEMPLATE #{key} - end -->\n"
6464
end

0 commit comments

Comments
 (0)