in infra/build-project.js [23:34]
function runCmd(cmd, retryAttempts = 1) {
try {
return execSync(cmd, { stdio: 'pipe' });
} catch (err) {
if (retryAttempts > 0) {
console.log(`Retrying command '${cmd}'...`);
return runCmd(cmd, retryAttempts - 1);
} else {
throw err;
}
}
}