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