Skip to content

Commit 46e808d

Browse files
committed
fix: double-quated converted to single-quoted
1 parent 9514429 commit 46e808d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/utils/uri_utils.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def self.parse_docker_uri(docker_uri)
7373

7474
# if only sha256 presented, we add hash value as fragment to the uri,
7575
# since the ruby uri parser confuses because of second ':' in uri's path part.
76-
if tag_digest && tag_digest.start_with?("sha256:")
77-
hash_algo, hash_value = tag_digest.split(":")
78-
path = path + "@sha256"
76+
if tag_digest && tag_digest.start_with?('sha256:')
77+
hash_algo, hash_value = tag_digest.split(':')
78+
path = path + '@sha256'
7979
tag_digest = hash_value
8080
end
8181

0 commit comments

Comments
 (0)