MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / onDone

Function onDone

main.js:3453–3471  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

3451 }
3452 };
3453 task.logPublicly = (message) => {
3454 task.logPrivately(message);
3455 message = escapeHtml(trimIndent(message).trim());
3456 if (message) {
3457 task.publicLog.push(message);
3458 build.updateMessage();
3459 }
3460 };
3461 const onDone = (code) => {
3462 if (task.endTime)
3463 return;
3464 console.log('Finished task ' + task.name + ' with code ' + code);
3465 if (code != 0 && task.privateLog) {
3466 console.log('Private task ' + task.name + ' log:\n' + task.privateLog.join('\n'));
3467 }
3468 task.endTime = new Date();
3469 task.process = null;
3470 task.exitCode = code;
3471 task.error = code != 0;
3472 if (task.error) {
3473 build.error = true;
3474 }

Callers 12

toUtf8Function · 0.85
publishToTelegramFunction · 0.85
uploadToTelegramFunction · 0.85
failWithErrorFunction · 0.85
onMappingUploadedFunction · 0.85
onSymbolsUploadedFunction · 0.85
prepareForPublishingFunction · 0.85
onVariantCheckedFunction · 0.85
onBuildUploadedFunction · 0.85
uploadToGooglePlayFunction · 0.85
uploadToHuaweiAppGalleryFunction · 0.85
uploadToGithubFunction · 0.85

Calls 1

traceDurationFunction · 0.85

Tested by

no test coverage detected