feat(prebuild): add builder opt to build tasks.

This commit is contained in:
Alexandre Pujol 2024-05-25 22:32:10 +01:00
parent 02e3334949
commit 2dd6046697
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 38 additions and 13 deletions

View file

@ -238,7 +238,8 @@ func TestBuilder_Apply(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got, err := tt.b.Apply(tt.profile)
opt := &Option{}
got, err := tt.b.Apply(opt, tt.profile)
if (err != nil) != tt.wantErr {
t.Errorf("Builder.Apply() error = %v, wantErr %v", err, tt.wantErr)
return