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 'lib/container_registry/path.rb')
-rw-r--r--lib/container_registry/path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/path.rb b/lib/container_registry/path.rb
index 9b2a61cdedc..9e5d8347b53 100644
--- a/lib/container_registry/path.rb
+++ b/lib/container_registry/path.rb
@@ -66,7 +66,7 @@ module ContainerRegistry
def repository_name
return unless has_project?
- @path.remove(%r(^#{Regexp.escape(project_path)}/?))
+ @path.remove(%r{^#{Regexp.escape(project_path)}/?})
end
def project_path