aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/deps.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index 93b187cf..c556bc23 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
@@ -178,7 +178,7 @@ local function parse_constraint(input)
178 if not version then 178 if not version then
179 return nil, "Could not parse version from constraint: '"..input.."'" 179 return nil, "Could not parse version from constraint: '"..input.."'"
180 end 180 end
181 return { op = op, version = version, no_upgrade = no_upgrade=="@" and true or nil }, rest 181 return { op = _op, version = version, no_upgrade = no_upgrade=="@" and true or nil }, rest
182end 182end
183 183
184--- Convert a list of constraints from string to table format. 184--- Convert a list of constraints from string to table format.