Skip to content

fix: handle possibility of empty args#766

Merged
Tieske merged 1 commit intolunarmodules:masterfrom
mrcjkb:mj/push-rxlrwlyprytp
Jan 21, 2026
Merged

fix: handle possibility of empty args#766
Tieske merged 1 commit intolunarmodules:masterfrom
mrcjkb:mj/push-rxlrwlyprytp

Conversation

@mrcjkb
Copy link
Contributor

@mrcjkb mrcjkb commented Jan 21, 2026

Problem: When running busted via a wrapper that was installed using LuaRocks or Lux, with variables.LUA set to something other than lua (e.g. /path/to/nlua), the parser fails with:

    E5113: Lua chunk: ...95dc6403f6aafe-busted@2.3.0-1/src/busted/modules/cli.lua:216: attempt to concatenate a nil value
    stack traceback:
        ...95dc6403f6aafe-busted@2.3.0-1/src/busted/modules/cli.lua:216: in function 'parse'

This PR handles the case that args could be an empty table.

@Tieske Tieske merged commit 785ffbf into lunarmodules:master Jan 21, 2026
1 of 7 checks passed
@mrcjkb mrcjkb deleted the mj/push-rxlrwlyprytp branch January 21, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants