lib/i18n/tasks/scanners/pattern_scanner.rb in i18n-tasks-0.9.18 vs lib/i18n/tasks/scanners/pattern_scanner.rb in i18n-tasks-0.9.19

- old
+ new

@@ -63,10 +63,10 @@ def exclude_line?(line, path) re = @ignore_lines_res[File.extname(path)[1..-1]] re && re =~ line end - VALID_KEY_RE_DYNAMIC = /^(#{VALID_KEY_CHARS}|[:\#{@}\[\]])+$/ + VALID_KEY_RE_DYNAMIC = /^(#{VALID_KEY_CHARS}|[:\#{@}\[\]])+$/ # rubocop:disable Lint/InterpolationCheck def valid_key?(key) if @config[:strict] super(key) else