Fix incorrect env file generation in mastodon:setup (#23072)

Regression from #23012
This commit is contained in:
Claire 2023-01-13 10:17:07 +01:00 committed by GitHub
parent f4a6365f55
commit a3a5aa1597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -399,7 +399,7 @@ namespace :mastodon do
escaped = dotenv_escape(value)
incompatible_syntax = true if value != escaped
escaped
"#{key}=#{escaped}"
end.join("\n")
generated_header = "# Generated with mastodon:setup on #{Time.now.utc}\n\n".dup