[rubygems/rubygems] Better way to join path components
The current way works, but error messages show duplicate "/" in paths, which is weird. https://github.com/rubygems/rubygems/commit/9123deb4fa
This commit is contained in:
parent
7304e357a8
commit
1954a95f8b
@ -69,7 +69,7 @@ class BundlerVCRHTTP < Net::HTTP
|
||||
end
|
||||
|
||||
def file_name_for_key(key)
|
||||
key.join("/").gsub(/[\:*?"<>|]/, "-")
|
||||
File.join(*key).gsub(/[\:*?"<>|]/, "-")
|
||||
end
|
||||
|
||||
def request_pair_paths
|
||||
|
Loading…
x
Reference in New Issue
Block a user