aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-01-28 21:43:48 -0500
committerGitHub <noreply@github.com>2019-01-28 21:43:48 -0500
commit48a41b544c3e09e7836498140f8ac0f8515aba59 (patch)
tree45826957220dd7b165f076d804b50845fb133121 /actiontext
parented7706720e74293b310898df1bc202ae505b9731 (diff)
parent95e00befbc2fe46aafb15046ac229884688f677d (diff)
downloadrails-48a41b544c3e09e7836498140f8ac0f8515aba59.tar.gz
rails-48a41b544c3e09e7836498140f8ac0f8515aba59.tar.bz2
rails-48a41b544c3e09e7836498140f8ac0f8515aba59.zip
Merge pull request #35067 from vnbrs/patch-1
Add line break to Action Text installation outputs
Diffstat (limited to 'actiontext')
-rw-r--r--actiontext/lib/templates/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actiontext/lib/templates/installer.rb b/actiontext/lib/templates/installer.rb
index 990e41ca00..a8000eb9fc 100644
--- a/actiontext/lib/templates/installer.rb
+++ b/actiontext/lib/templates/installer.rb
@@ -26,7 +26,7 @@ if APPLICATION_PACK_PATH.exist?
line = %[require("#{name}")]
unless APPLICATION_PACK_PATH.read.include? line
say "Adding #{name} to #{APPLICATION_PACK_PATH}"
- append_to_file APPLICATION_PACK_PATH, "#{line}\n"
+ append_to_file APPLICATION_PACK_PATH, "\n#{line}"
end
end
end