Skip to content

Commit

Permalink
panic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Listener430 committed Dec 18, 2024
1 parent b205a0d commit 3771676
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/exec/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func ProcessStacks(
configAndStacksInfo.ComponentType,
configAndStacksInfo.ComponentFromArg,
)

if err != nil {
return configAndStacksInfo, err
}
Expand Down Expand Up @@ -434,6 +435,10 @@ func ProcessStacks(
}
}

if configAndStacksInfo.ComponentSection == nil {
configAndStacksInfo.ComponentSection = make(map[string]any)
}

// Add imports
configAndStacksInfo.ComponentSection["imports"] = configAndStacksInfo.ComponentImportsSection

Expand Down

0 comments on commit 3771676

Please sign in to comment.