diff options
Diffstat (limited to 'lib/container_registry')
-rw-r--r-- | lib/container_registry/path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/path.rb b/lib/container_registry/path.rb index 2291291d1fc..89973b2e7b8 100644 --- a/lib/container_registry/path.rb +++ b/lib/container_registry/path.rb @@ -56,7 +56,7 @@ module ContainerRegistry def repository_name return unless has_project? - @path.remove(%r(^?#{Regexp.escape(repository_project.full_path)}/?)) + @path.remove(%r(^#{Regexp.escape(repository_project.full_path)}/?)) end def to_s |