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; }