From 1975c67f0642e8d3f1c5f8124ede9deaae3c28c4 Mon Sep 17 00:00:00 2001 From: Jean-Hadrien Chabran Date: Fri, 14 Jun 2024 23:50:22 +0200 Subject: [PATCH] fix(ci): remove broken glob (#63277) A glob that doesn't match any files got introduced in https://github.com/sourcegraph/sourcegraph/commit/4077b3ec22dad1c93675fd3e33336a35019bac00#diff-f7c1ab1acb5e753bccdd4b092b0098fa58855899e8764b68829ada2ba9cea760R147 which appears to confuse Gazelle, leading to `sg bazel configure` not updating ts files. Fixes https://github.com/sourcegraph/devx-support/issues/1029 ## Test plan Locally tested: 1. Dropped the offending glob 2. rm'ed `client/web/src/cody/subscription/subscriptionSummary.ts` 3. `sg bazel configure` 4. Observed the build file being updated accordingly. ## Changelog --- client/web/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/BUILD.bazel b/client/web/BUILD.bazel index bad4b3d953a..c47cdf1155f 100644 --- a/client/web/BUILD.bazel +++ b/client/web/BUILD.bazel @@ -144,7 +144,7 @@ filegroup( ts_project( name = "web_lib", - srcs = glob(["!src/playwright/*.spec.ts"]) + [ + srcs = [ "src/Index.tsx", "src/LegacyLayout.tsx", "src/LegacyRouteContext.tsx",