Skip to content

Commit 2601cbc

Browse files
authored
Don't keep empty line after removing link_directory (#20)
1 parent ee1bfdd commit 2601cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install/install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
append_to_file "app/assets/config/manifest.js", %(//= link_tree ../builds\n)
55

66
say "Stop linking stylesheets automatically"
7-
gsub_file "app/assets/config/manifest.js", "//= link_directory ../stylesheets .css", ""
7+
gsub_file "app/assets/config/manifest.js", "//= link_directory ../stylesheets .css\n", ""
88

99
if Rails.root.join(".gitignore").exist?
1010
append_to_file(".gitignore", %(\n/app/assets/builds/*\n!/app/assets/builds/.keep\n))

0 commit comments

Comments
 (0)