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:
authorLin Jen-Shin <godfat@godfat.org>2018-09-19 17:26:31 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-09-19 17:26:31 +0300
commit9e4e1aee500b44e2568fc439ae53077967ebb0c3 (patch)
treea4bbce2acc5d70ad5e2bc9a556827592ba88d604
parent68c525512a64e8fffcdc8c3f56b366f5dfcfaa70 (diff)
parent23d5501500fe705685e3230faaac1a0ba19e4e0a (diff)
Merge branch 'bvl-remove-unused-regex' into 'master'
Remove unused constant See merge request gitlab-org/gitlab-ce!21810
-rw-r--r--rubocop/cop/ruby_interpolation_in_translation.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/rubocop/cop/ruby_interpolation_in_translation.rb b/rubocop/cop/ruby_interpolation_in_translation.rb
index b9411fcfd6c..c431b4a1977 100644
--- a/rubocop/cop/ruby_interpolation_in_translation.rb
+++ b/rubocop/cop/ruby_interpolation_in_translation.rb
@@ -6,7 +6,6 @@ module RuboCop
MSG = "Don't use ruby interpolation \#{} inside translated strings, instead use \%{}"
TRANSLATION_METHODS = ':_ :s_ :N_ :n_'
- RUBY_INTERPOLATION_REGEX = /.*\#\{.*\}/
def_node_matcher :translation_method?, <<~PATTERN
(send nil? {#{TRANSLATION_METHODS}} $dstr ...)