Skip to content

Commit f992b72

Browse files
committed
fix: arguments on curl
1 parent 58ec494 commit f992b72

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lua/blink/cmp/fuzzy/download.lua

+4-2
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,16 @@ function download.from_github(tag, cb)
128128

129129
vim.system({
130130
'curl',
131-
'--retry=2',
131+
'--retry',
132+
'2',
132133
'--retry-connrefused',
133134
'--fail', -- Fail on 4xx/5xx
134135
'--location', -- Follow redirects
135136
'--silent', -- Don't show progress
136137
'--show-error', -- Show errors, even though we're using --silent
137138
'--create-dirs',
138-
'--output=' .. download.lib_path,
139+
'--output',
140+
download.lib_path,
139141
url,
140142
}, {}, function(out)
141143
if out.code ~= 0 then return cb('Failed to download pre-build binaries: ' .. out.stderr) end

0 commit comments

Comments
 (0)