about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-11-11 09:33:32 +0900
committerGitHub <noreply@github.com>2022-11-11 01:33:32 +0100
commit19a8563905cf613bb24e10e4e19bdbc1d0ff3b8a (patch)
treebaa08fcdb75e96b14155317b27486cf290f49131 /lib
parentd4f973227c3a65833b6f8f34cab080900c77d4d6 (diff)
Fix `ENV` (#20377)
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/mastodon.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake
index 76089ebac..3ec685c74 100644
--- a/lib/tasks/mastodon.rake
+++ b/lib/tasks/mastodon.rake
@@ -326,7 +326,7 @@ namespace :mastodon do
           when 'auto'
             enable_starttls_auto = true
           else
-            enable_starttls_auto = ENV['SMTP_ENABLE_STARTTLS_AUTO'] != 'false'
+            enable_starttls_auto = env['SMTP_ENABLE_STARTTLS_AUTO'] != 'false'
           end
 
           ActionMailer::Base.smtp_settings = {