From 83a3977c5f6385c0644383fdaec05a5c7778d057 Mon Sep 17 00:00:00 2001 From: Eddie Date: Tue, 24 Dec 2024 13:49:22 -0300 Subject: [PATCH] wait 100ms --- launch.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/launch.ts b/launch.ts index 0b54bdd..c392166 100644 --- a/launch.ts +++ b/launch.ts @@ -196,6 +196,7 @@ async function main() { const result = await executeCode(toolName, parameters, configurations, metadata.tools || []); clearInterval(t); + await new Promise(resolve => setTimeout(resolve, 100)); console.log("\n--------------------------------"); console.log("Execution result:"); console.log(JSON.stringify(result, null, 2));