revert cloned runner using parsed cmd list

This commit is contained in:
Luna 2020-06-02 17:25:03 -03:00
parent af0ea574e1
commit 6d8614e678
1 changed files with 2 additions and 2 deletions

View File

@ -222,9 +222,9 @@ pub fn doRepl(allocator: *std.mem.Allocator, args_it: var) !void {
// taking address is fine, because runqs_cmd lives in the lifetime
// of this function.
try cmds.append(&runqs_cmd.base);
try cmds_parsed.append(&runqs_cmd.base);
try runner_clone.runCommands(cmds, true);
try runner_clone.runCommands(cmds_parsed, true);
_ = try stdout.write("\n");
}
}