We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb3935 commit 1dd21e7Copy full SHA for 1dd21e7
pkg/build/build.go
@@ -1476,6 +1476,8 @@ func (ctx *Context) BuildPackage() error {
1476
1477
// run any pipelines for subpackages
1478
for _, sp := range ctx.Configuration.Subpackages {
1479
+ langs := []string{}
1480
+
1481
if !ctx.IsBuildLess() {
1482
ctx.Logger.Printf("running pipeline for subpackage %s", sp.Name)
1483
pctx.Subpackage = &sp
@@ -1488,8 +1490,6 @@ func (ctx *Context) BuildPackage() error {
1488
1490
continue
1489
1491
}
1492
- langs := []string{}
-
1493
for _, p := range sp.Pipeline {
1494
if _, err := p.Run(&pctx); err != nil {
1495
return fmt.Errorf("unable to run pipeline: %w", err)
0 commit comments