aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/queries.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/queries.lua b/src/luarocks/queries.lua
index e47a5722..6a9166ba 100644
--- a/src/luarocks/queries.lua
+++ b/src/luarocks/queries.lua
@@ -176,7 +176,7 @@ end
176-- Includes namespace, name and version, but not arch or constraints. 176-- Includes namespace, name and version, but not arch or constraints.
177-- @param query table: a query table 177-- @param query table: a query table
178-- @return string: a result such as `my_user/my_rock 1.0` or `my_rock`. 178-- @return string: a result such as `my_user/my_rock 1.0` or `my_rock`.
179function queries:__tostring() 179function query_mt:__tostring()
180 local out = {} 180 local out = {}
181 if self.namespace then 181 if self.namespace then
182 table.insert(out, self.namespace) 182 table.insert(out, self.namespace)