diff options
-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))); } |