Skip to content

Commit

Permalink
Update scripts/convertComponent.go
Browse files Browse the repository at this point in the history
Signed-off-by: Mohd Uzair <[email protected]>
  • Loading branch information
Mohd Uzair authored Aug 16, 2024
1 parent 1ecd407 commit 6386002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/convertComponent.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ func getShapePointer(metadata map[string]interface{}, key string) *component.Com
if metadata[key] == nil {
return nil
}
shape := metadata[key].(string)
shape, _ := metadata[key].(string)
if shape == "" {
return nil
}
Expand Down

0 comments on commit 6386002

Please sign in to comment.