From 6b351eafc784f2fe319a7fa2d40fbfbb32c0b38d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 5 May 2026 22:32:46 +0100 Subject: [PATCH] [AI] Restore bank-factory glob to ./banks/*_*.{ts,js} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-apply the glob widening originally added in 145868f9d. It was reverted in 531b1a191 because the desktop e2e was failing — that failure is now traced to the rebuild-electron breakage (fixed in 6e8ac0784), not to this glob. Mirroring migrations.ts so future TS bank handlers are picked up. Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/sync-server/src/app-gocardless/bank-factory.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sync-server/src/app-gocardless/bank-factory.js b/packages/sync-server/src/app-gocardless/bank-factory.js index a99d6ddd48..34cdd51082 100644 --- a/packages/sync-server/src/app-gocardless/bank-factory.js +++ b/packages/sync-server/src/app-gocardless/bank-factory.js @@ -1,8 +1,8 @@ import IntegrationBank from './banks/integration-bank'; -// Filename convention: _.js (skips bank.interface, integration-bank, -// and any other helper without an underscore). -const bankLoaders = import.meta.glob('./banks/*_*.js'); +// Filename convention: _.{ts,js} (skips bank.interface, +// integration-bank, and any other helper without an underscore). +const bankLoaders = import.meta.glob('./banks/*_*.{ts,js}'); async function loadBanks() { const imports = await Promise.all(