style: fix variable casing

This commit is contained in:
Peter Pölzl
2021-03-03 07:03:31 +01:00
committed by GitHub
parent bce0f4d896
commit 262da4e5f3

View File

@@ -19,8 +19,8 @@ local function downloadFileText(source, file)
end
local text = ""
local easy = curl.easy()
local escaped_url = source..easy:escape(file)
easy:setopt_url(escaped_url)
local escapedUrl = source..easy:escape(file)
easy:setopt_url(escapedUrl)
easy:setopt(curl.OPT_ACCEPT_ENCODING, "")
if proxyURL then
easy:setopt(curl.OPT_PROXY, proxyURL)