summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <git@iximeow.net>2022-12-29 03:25:46 +0000
committeriximeow <git@iximeow.net>2022-12-29 03:25:46 +0000
commit7801ace71a60f9c16497d99f760c14529a2d63d3 (patch)
tree6e34069482cc50faedc34dbe60db826715a5b0bc /src
parentd44b680a8708a46004fe3cdf58c701e5f0779514 (diff)
allow non-present build args
Diffstat (limited to 'src')
-rw-r--r--src/lua/mod.rs7
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)));
}