diff options
author | Go MAEDA <maeda@farend.jp> | 2019-03-17 02:04:38 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-03-17 02:04:38 +0000 |
commit | 02b4449414748ceb0198a581496d4ff7fed69386 (patch) | |
tree | 29d775dc0c50bf1ea8c4b37e8ae77700e0a283bb /config/environment.rb | |
parent | d16369b67c9dd34b007fc58f2f83cb36e6479f37 (diff) | |
download | redmine-02b4449414748ceb0198a581496d4ff7fed69386.tar.gz redmine-02b4449414748ceb0198a581496d4ff7fed69386.zip |
Enable frozen_string_literal for all files under config directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17982 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/environment.rb b/config/environment.rb index f55721cb0..52cdf1628 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Load the Rails application require File.expand_path('../application', __FILE__) @@ -6,8 +6,8 @@ require File.expand_path('../application', __FILE__) # Make sure there's no plugin in vendor/plugin before starting vendor_plugins_dir = File.join(Rails.root, "vendor", "plugins") if Dir.glob(File.join(vendor_plugins_dir, "*")).any? - $stderr.puts "Plugins in vendor/plugins (#{vendor_plugins_dir}) are no longer allowed. " + - "Please, put your Redmine plugins in the `plugins` directory at the root of your " + + $stderr.puts "Plugins in vendor/plugins (#{vendor_plugins_dir}) are no longer allowed. " \ + "Please, put your Redmine plugins in the `plugins` directory at the root of your " \ "Redmine directory (#{File.join(Rails.root, "plugins")})" exit 1 end |