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

Function killTask

main.js:698–709  ·  view source on GitHub ↗
(task)

Source from the content-addressed store, hash-verified

696 if (totalMinutes !== 0) {
697 if (result.length) result += ' ';
698 result += totalMinutes + (full ? totalMinutes !== 1 ? ' minutes' : ' minute' : 'm');
699 }
700 if (seconds !== 0) {
701 if (result.length) result += ' ';
702 result += (seconds % 1 !== 0 ? seconds.toFixed(1) : seconds) + (full ? seconds !== 1 ? ' seconds' : ' second' : 's');
703 }
704
705 return result;
706}
707
708async function traceMaxApkVersionCode (sdkVariant, abiVariant, versionCode, uploadDate, platform) {
709 const type = sdkVariant !== 'latest' ? abiVariant + ucfirst(sdkVariant) : abiVariant;
710 const isDefault = platform === 'googlePlay';
711 const id = isDefault ? type : platform + '-' + type;
712 const maxId = isDefault ? 'max' : platform + '-max';

Callers 1

processPrivateCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected