From 7801ace71a60f9c16497d99f760c14529a2d63d3 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 29 Dec 2022 03:25:46 +0000 Subject: allow non-present build args --- src/lua/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) 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))); } -- cgit v1.1