Skip to content

Commit fb6b866

Browse files
committed
fix(cli): Correct return value handling when process() doesn't lift weight
1 parent 208ce4f commit fb6b866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ pub fn run(
184184
let input_filenames: LuaTable = sile_input.get("filenames")?;
185185
let process_file: LuaFunction = sile.get("processFile")?;
186186
for file in input_filenames.sequence_values::<LuaString>() {
187-
process_file.call::<LuaString>(file?)?;
187+
process_file.call::<LuaValue>(file?)?;
188188
}
189189
let finish: LuaFunction = sile.get("finish")?;
190190
finish.call::<LuaValue>(())?;

0 commit comments

Comments
 (0)