From cee15e9f214f8071f6e2cd3c94a068ac5d111655 Mon Sep 17 00:00:00 2001 From: "zhiming.wu" Date: Tue, 10 Dec 2024 16:35:31 +0800 Subject: [PATCH] fix runtime web adapter fetch error --- scripts/fetch-ral.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/fetch-ral.js b/scripts/fetch-ral.js index cb1edeaf530..f0d9435ec68 100644 --- a/scripts/fetch-ral.js +++ b/scripts/fetch-ral.js @@ -95,9 +95,13 @@ function runCommand (cmd, cwd) { console.error(stderr); } }); - ls.stdout.on('close', () => { + ls.on('close', () => { resolve(ls.exitCode); }); + + ls.stderr.on('data', (data) => { + console.error(data); + }); }); }