Skip to content

Commit 8ea23c5

Browse files
author
Michel Casabianca
committed
Fix call stack
1 parent 17ebede commit 8ea23c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

neon/build/build.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ func (build *Build) RunParentTarget(context *Context, name string) error {
390390
if err != nil {
391391
return fmt.Errorf("running target '%s': %v", name, err)
392392
}
393+
if err := context.Stack.Pop(); err != nil {
394+
return err
395+
}
393396
return nil
394397
}
395398

0 commit comments

Comments
 (0)