Skip to content

Commit 1445a8a

Browse files
authored
Merge pull request #4181 from apostasie/fix-2025-05-prepend-regression
[Regression] [Tigron]: fix prepend args
2 parents 8d7539a + e42002d commit 1445a8a

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)