aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2016-01-10 22:57:17 -0800
committerThijs Schreijer <thijs@thijsschreijer.nl>2016-01-10 22:57:17 -0800
commitd03b2c83b7d1673b41068bbc523b35fb4192ae64 (patch)
treecc7f8027710aab5ae7b743eaeb361858cfbded17 /src
parentb1db72d91cda7a17b2f95a0a4f90b838cbf7993f (diff)
downloadluarocks-d03b2c83b7d1673b41068bbc523b35fb4192ae64.tar.gz
luarocks-d03b2c83b7d1673b41068bbc523b35fb4192ae64.tar.bz2
luarocks-d03b2c83b7d1673b41068bbc523b35fb4192ae64.zip
2nd occurence of the json error message also updated
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/upload/api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/upload/api.lua b/src/luarocks/upload/api.lua
index 6a830abd..6df24569 100644
--- a/src/luarocks/upload/api.lua
+++ b/src/luarocks/upload/api.lua
@@ -201,7 +201,7 @@ local warned_luasec = false
201 201
202function Api:request(url, params, post_params) 202function Api:request(url, params, post_params)
203 local json_ok, json = require_json() 203 local json_ok, json = require_json()
204 if not json_ok then return nil, "A JSON library is required for this command." end 204 if not json_ok then return nil, "A JSON library is required for this command. "..json end
205 local server = tostring(self.config.server) 205 local server = tostring(self.config.server)
206 local http_ok, http 206 local http_ok, http
207 local via = "luasocket" 207 local via = "luasocket"