about summary refs log tree commit diff
path: root/lib/tasks/mastodon.rake
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-11-13 10:41:25 +0100
committerGitHub <noreply@github.com>2021-11-13 10:41:25 +0100
commitf2b376e9d82577dc630757a2b927d02f8bfcf4b0 (patch)
treea35d367237f740ad03a3f2c6e81a11ddb419087a /lib/tasks/mastodon.rake
parent8b8d58c6702032d1ed9dfd6f6392d4b6eadf2407 (diff)
parent2cda8be805f51497044575e9d3be69bd62e703c2 (diff)
Merge pull request #1632 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'lib/tasks/mastodon.rake')
-rw-r--r--lib/tasks/mastodon.rake6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake
index 9146f78e1..d905a07da 100644
--- a/lib/tasks/mastodon.rake
+++ b/lib/tasks/mastodon.rake
@@ -350,11 +350,11 @@ namespace :mastodon do
           end
         end.join("\n")
 
-        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
 
         if incompatible_syntax
-          generated_header << "Some variables in this file will be interpreted differently whether you are\n"
-          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"
         end
 
         File.write(Rails.root.join('.env.production'), "#{generated_header}#{env_contents}\n")