Skip to content

Commit

Permalink
fix: test cdk components
Browse files Browse the repository at this point in the history
  • Loading branch information
PengyuanZhao committed Mar 18, 2024
1 parent a13a93f commit 1ed627a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lwcomponent/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const (
)

func CatalogV1Enabled(client *api.Client) bool {
if os.Getenv("LW_CLI_INTEGRATION_MODE") != "" {
return true
}
response, err := client.V2.FeatureFlags.GetFeatureFlagsMatchingPrefix(featureFlag)
if err != nil {
return false
Expand Down

0 comments on commit 1ed627a

Please sign in to comment.