From 1ed627a30b5ef92e16f8ba8c8a6f323cfbd643a4 Mon Sep 17 00:00:00 2001 From: Pengyuan Zhao Date: Mon, 18 Mar 2024 17:45:54 -0400 Subject: [PATCH] fix: test cdk components --- lwcomponent/catalog.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lwcomponent/catalog.go b/lwcomponent/catalog.go index c98a6c015..94234f348 100644 --- a/lwcomponent/catalog.go +++ b/lwcomponent/catalog.go @@ -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