remove the useless new line in a page template after a pulling operation
did
committed Aug 29, 2016
commit 64aa3a254f19dc05e97228b5736dbcde37a38197
Showing 1
changed file with
1 additions
and 0 deletions
locomotive/wagon/commands/pull_sub_commands/pull_pages_command.rb b/lib/locomotive/wagon/commands/pull_sub_commands/pull_pages_command.rb
+1
-0
| @@ | @@ -21,6 +21,7 @@ module Locomotive::Wagon |
| #{yaml_attributes(page, locale)}--- | |
| #{replace_asset_urls(page.template)} | |
| EOF | |
| + | .gsub(/\n$/, '') |
| end | |
| end | |