Skip to content

Commit

Permalink
Merge pull request #32 from sj26/fix-readme-replace-lines
Browse files Browse the repository at this point in the history
Fix readme replacement
  • Loading branch information
ronen committed Dec 12, 2023
2 parents 014d579 + e0b3861 commit 8fcd930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schema_dev/readme.rb
Expand Up @@ -58,7 +58,7 @@ def sub_template(template, lines)
replace_block(lines, %r{^\s*<!-- SCHEMA_DEV: TEMPLATE #{key}}) do |contents|
contents << "<!-- SCHEMA_DEV: TEMPLATE #{key} - begin -->\n"
contents << "<!-- These lines are auto-inserted from a schema_dev template -->\n"
contents << template.readlines
contents.concat template.readlines
contents << "\n"
contents << "<!-- SCHEMA_DEV: TEMPLATE #{key} - end -->\n"
end
Expand Down

0 comments on commit 8fcd930

Please sign in to comment.