aboutsummaryrefslogtreecommitdiff
path: root/spec/cmd_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix and reorganize Lua version detectionHisham Muhammad2019-06-031-0/+70
| | | | | | | | | | Make it more robust when detecting the Lua version when working inside a project, and hopefully make the detection logic easier to track in the code. Reorganized code so that the `detected` table becomes internal to the `init_config` operation and only the regular `cfg` global table is used after that. Includes regression tests.
* cmd: fix crash if LuaRocks is given a bad LUA_DIRHisham Muhammad2019-06-031-0/+34
Includes a regression test.