Skip to content

Commit 5487acb

Browse files
committed
fix ci
1 parent 29f590f commit 5487acb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/i18n_data/live_data_provider.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ def clear_cache
3939

4040
def ensure_checkout
4141
unless File.exist?(CLONE_DEST)
42-
`git clone #{REPO} #{CLONE_DEST}`
43-
raise unless $?.success?
42+
# need to clone with http1 or get:
43+
# error: RPC failed; curl 16 Error in the HTTP2 framing layer
44+
command = "git clone -c http.version=HTTP/1.1 #{REPO} #{CLONE_DEST}"
45+
out = `#{command}`
46+
raise "Command #{command.inspect} failed:\n#{out}" unless $?.success?
4447
end
4548
end
4649

0 commit comments

Comments
 (0)