Skip to content

Commit e42002d

Browse files
committed
Fix tigron prepend args regression
Signed-off-by: apostasie <[email protected]>
1 parent 8d7539a commit e42002d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mod/tigron/test/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func (gc *GenericCommand) WithTimeout(timeout time.Duration) {
160160
}
161161

162162
func (gc *GenericCommand) PrependArgs(args ...string) {
163-
gc.cmd.PrependArgs = args
163+
gc.cmd.PrependArgs = append(gc.cmd.PrependArgs, args...)
164164
}
165165

166166
func (gc *GenericCommand) Background() {

0 commit comments

Comments
 (0)