diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-07-04 12:30:04 +0200 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-07-04 12:30:04 +0200 |
| commit | 0d3ee0f874dd7a31929fd0fd21ffc5d11a91b95b (patch) | |
| tree | 1ea3ae5c281cffb2d2c15725d129643f0c0607a2 /src | |
| parent | 833b8bbccc758049d08ef3fa8cd8cbd2a4366a91 (diff) | |
| download | luarocks-0d3ee0f874dd7a31929fd0fd21ffc5d11a91b95b.tar.gz luarocks-0d3ee0f874dd7a31929fd0fd21ffc5d11a91b95b.tar.bz2 luarocks-0d3ee0f874dd7a31929fd0fd21ffc5d11a91b95b.zip | |
fixed return value
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/deps.lua | 2 |
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 |
| 182 | end | 182 | end |
| 183 | 183 | ||
| 184 | --- Convert a list of constraints from string to table format. | 184 | --- Convert a list of constraints from string to table format. |
