Skip to content

Commit

Permalink
Add a newline before appending the avo tailwind command to Procfile.d…
Browse files Browse the repository at this point in the history
…ev (#3189)
  • Loading branch information
cmaxw committed Aug 24, 2024
1 parent 9a954cb commit 3a12d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/avo/tailwindcss/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create_files
script_name = "avo:tailwindcss"
if Rails.root.join("Procfile.dev").exist?
say "Add #{cmd = "avo_css: yarn #{script_name} --watch"} to Procfile.dev"
append_to_file "Procfile.dev", "#{cmd}\n"
append_to_file "Procfile.dev", "\n#{cmd}\n"
else
say "Add default Procfile.dev"
copy_file template_path("Procfile.dev"), "Procfile.dev"
Expand Down

0 comments on commit 3a12d4a

Please sign in to comment.