Commit 1efbbeb2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix rubocop complain around package_name_regex

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f7194365
......@@ -14,7 +14,7 @@ module EE
end
def package_name_regex
@package_name_regex ||= /\A(([\w\-\.]*)\/)*([\w\-\.]*)\z/.freeze
@package_name_regex ||= %r{\A(([\w\-\.]*)/)*([\w\-\.]*)\z}.freeze
end
def maven_path_regex
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment