revert cloned runner using parsed cmd list
This commit is contained in:
parent
af0ea574e1
commit
6d8614e678
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue