aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/luarocks/loader.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/loader.lua b/src/luarocks/loader.lua
index a0120c5f..139bcb8b 100644
--- a/src/luarocks/loader.lua
+++ b/src/luarocks/loader.lua
@@ -116,7 +116,7 @@ local function call_other_loaders(module, name, version, module_name)
116 end 116 end
117 end 117 end
118 end 118 end
119 return nil, "Failed loading module "..module.." in LuaRocks rock "..name.." "..version 119 return "Failed loading module "..module.." in LuaRocks rock "..name.." "..version
120end 120end
121 121
122--- Search for a module in the rocks trees 122--- Search for a module in the rocks trees
@@ -218,7 +218,7 @@ end
218function luarocks_loader(module) 218function luarocks_loader(module)
219 local name, version, module_name = pick_module(module) 219 local name, version, module_name = pick_module(module)
220 if not name then 220 if not name then
221 return nil, "No LuaRocks module found for "..module 221 return "No LuaRocks module found for "..module
222 else 222 else
223 add_context(name, version) 223 add_context(name, version)
224 return call_other_loaders(module, name, version, module_name) 224 return call_other_loaders(module, name, version, module_name)