diff options
author | iximeow <git@iximeow.net> | 2022-12-29 03:25:46 +0000 |
---|---|---|
committer | iximeow <git@iximeow.net> | 2022-12-29 03:25:46 +0000 |
commit | 7801ace71a60f9c16497d99f760c14529a2d63d3 (patch) | |
tree | 6e34069482cc50faedc34dbe60db826715a5b0bc /src | |
parent | d44b680a8708a46004fe3cdf58c701e5f0779514 (diff) |
allow non-present build args
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lua/mod.rs b/src/lua/mod.rs index 26d2d5b..75b9cec 100644 --- a/src/lua/mod.rs +++ b/src/lua/mod.rs @@ -105,6 +105,13 @@ impl BuildEnv { cwd, } }, + LuaValue::Nil => { + RunParams { + step: None, + name: None, + cwd: None, + } + } other => { return Err(LuaError::RuntimeError(format!("argument 2 was not a table: {:?}", other))); } |