We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a0eec commit 9f24ddeCopy full SHA for 9f24dde
1 file changed
lib/tasks/mastodon.rake
@@ -350,11 +350,11 @@ namespace :mastodon do
350
end
351
end.join("\n")
352
353
- generated_header = "# Generated with mastodon:setup on #{Time.now.utc}\n\n"
+ generated_header = "# Generated with mastodon:setup on #{Time.now.utc}\n\n".dup
354
355
if incompatible_syntax
356
- generated_header << "Some variables in this file will be interpreted differently whether you are\n"
357
- generated_header << "using docker-compose or not.\n\n"
+ generated_header << "# Some variables in this file will be interpreted differently whether you are\n"
+ generated_header << "# using docker-compose or not.\n\n"
358
359
360
File.write(Rails.root.join('.env.production'), "#{generated_header}#{env_contents}\n")
0 commit comments