Skip to content

Commit

Permalink
fix runtime web adapter fetch error (cocos#18020)
Browse files Browse the repository at this point in the history
Co-authored-by: zhiming.wu <[email protected]>
  • Loading branch information
wuzhiming and zhiming.wu authored Dec 11, 2024
1 parent 83c5c0a commit 970e91c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/fetch-ral.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
}

Expand Down

0 comments on commit 970e91c

Please sign in to comment.