From 5f2443cdc2260d84c946328c998a65d6545d02d3 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Mon, 23 Feb 2026 12:08:50 -0800 Subject: [PATCH] chore: fetch Electron versions once per build --- src/transformers/api-history.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/transformers/api-history.ts b/src/transformers/api-history.ts index a6698938f..9c62a1b52 100644 --- a/src/transformers/api-history.ts +++ b/src/transformers/api-history.ts @@ -56,7 +56,9 @@ function isApiHistory(value: unknown): value is ApiHistory { ); } -export default function attacher() { +export default async function attacher() { + // Fetch and cache Electron versions before starting plugin + await getAllElectronVersions(); return transformer; }