From 40774c2cf4d3de9b3fb14f76513988de5d51fac2 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 21 Sep 2022 06:58:10 +0000 Subject: [PATCH] Add the `# frozen_string_literal: true` magic comment to config/initializers/secret_token.rb (#37682). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21830 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/initializers.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake index 6da60c147..564fbff9f 100644 --- a/lib/tasks/initializers.rake +++ b/lib/tasks/initializers.rake @@ -5,6 +5,8 @@ file 'config/initializers/secret_token.rb' do secret = SecureRandom.hex(40) File.open(path, 'w') do |f| f.write <<"EOF" +# frozen_string_literal: true + # This file was generated by 'rake generate_secret_token', and should # not be made visible to public. # If you have a load-balancing Redmine cluster, you will need to use the -- 2.39.5