Merge pull request #415 from infil00p/CB-13530

CB-13530: Fix the utility method for finding the built APK for generic APKs
This commit is contained in:
Joe Bowser 2017-11-03 16:50:32 -07:00 committed by GitHub
commit a1195cefd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ function findOutputApksHelper (dir, build_type, arch) {
var shellSilent = shell.config.silent; var shellSilent = shell.config.silent;
shell.config.silent = true; shell.config.silent = true;
var ret = shell.ls(path.join(dir, '*.apk')).filter(function (candidate) { var ret = shell.ls(path.join(dir, build_type, '*.apk')).filter(function (candidate) {
var apkName = path.basename(candidate); var apkName = path.basename(candidate);
// Need to choose between release and debug .apk. // Need to choose between release and debug .apk.
if (build_type === 'debug') { if (build_type === 'debug') {