diff options
author | Go MAEDA <maeda@farend.jp> | 2022-09-21 06:58:10 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-09-21 06:58:10 +0000 |
commit | 40774c2cf4d3de9b3fb14f76513988de5d51fac2 (patch) | |
tree | c513fb15dda8c383d7604022db0cdffe5167b717 | |
parent | f5b4ac70645092c662c2e9b828f345349d93e564 (diff) | |
download | redmine-40774c2cf4d3de9b3fb14f76513988de5d51fac2.tar.gz redmine-40774c2cf4d3de9b3fb14f76513988de5d51fac2.zip |
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
-rw-r--r-- | lib/tasks/initializers.rake | 2 |
1 files changed, 2 insertions, 0 deletions
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 |