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

Function check

main.js:763–772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

761 const result = { };
762
763 const check = () => {
764 if (result.nativeDebugSymbolsFile !== undefined && result.apkFile !== undefined && (result.apkFile === null || (result.apkFile.checksum && result.apkFile.checksum.md5 !== undefined && result.apkFile.checksum.sha1 !== undefined && result.apkFile.checksum.sha256 !== undefined)) && result.mappingFile !== undefined && result.metadata !== undefined) {
765 if (result.nativeDebugSymbolsFile && result.apkFile && (result.apkFile.checksum && result.apkFile.checksum.sha256 && result.apkFile.checksum.sha1 && result.apkFile.checksum.md5) && (result.mappingFile || build.outputApplication.dontObfuscate) && result.metadata) {
766 callback(result);
767 } else {
768 console.error('Cannot find build files for #' + build.version.name, JSON.stringify(result));
769 callback(null);
770 }
771 }
772 };
773
774 const prefix = '^' + escapeRegExp(build.outputApplication.name || 'Telegram X')
775 .replace(/ /g, '-')

Callers 1

getBuildFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected