Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/filename_length.rb')
-rw-r--r--rubocop/cop/filename_length.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/cop/filename_length.rb b/rubocop/cop/filename_length.rb
index 948f69cc88c..4144337f00f 100644
--- a/rubocop/cop/filename_length.rb
+++ b/rubocop/cop/filename_length.rb
@@ -7,8 +7,8 @@ module RuboCop
FILEPATH_MAX_BYTES = 256
FILENAME_MAX_BYTES = 100
- MSG_FILEPATH_LEN = "This file path is too long. It should be #{FILEPATH_MAX_BYTES} or less"
- MSG_FILENAME_LEN = "This file name is too long. It should be #{FILENAME_MAX_BYTES} or less"
+ MSG_FILEPATH_LEN = "This file path is too long. It should be #{FILEPATH_MAX_BYTES} or less".freeze
+ MSG_FILENAME_LEN = "This file name is too long. It should be #{FILENAME_MAX_BYTES} or less".freeze
def on_new_investigation
file_path = processed_source.file_path