diff --git a/plugin-src/findAllTextnodes.ts b/plugin-src/findAllTextnodes.ts index 827d5a1..3856e22 100644 --- a/plugin-src/findAllTextnodes.ts +++ b/plugin-src/findAllTextnodes.ts @@ -15,7 +15,7 @@ export const findAllTextNodes = async () => { extractMissingFonts(node, fonts); } - sleep(0); + await sleep(0); } }