From d8f10c33dcd1dbaf53c7b5bf8d35ab4b95e1996b Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 22 Nov 2017 11:47:05 -0800 Subject: [PATCH] CB-13601: Fixing lint error and mis-spelling of variable --- bin/templates/cordova/lib/build.js | 1 - bin/templates/cordova/lib/emulator.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js index a5299302..e33cfae0 100644 --- a/bin/templates/cordova/lib/build.js +++ b/bin/templates/cordova/lib/build.js @@ -47,7 +47,6 @@ function parseOpts (options, resolvedTarget, projectRoot) { keystoreType: String }, {}, options.argv, 0); - // Android Studio Build method is the default var ret = { buildType: options.release ? 'release' : 'debug', diff --git a/bin/templates/cordova/lib/emulator.js b/bin/templates/cordova/lib/emulator.js index c8a1963d..0a23084e 100644 --- a/bin/templates/cordova/lib/emulator.js +++ b/bin/templates/cordova/lib/emulator.js @@ -435,7 +435,7 @@ module.exports.install = function (givenTarget, buildResults) { // We need to find the proper path to the Android Manifest var manifestPath = path.join(__dirname, '..', '..', 'app', 'src', 'main', 'AndroidManifest.xml'); if (buildResults.buildMethod === 'gradle') { - mainfestPath = path.join(__dirname, '../../AndroidManifest.xml'); + manifestPath = path.join(__dirname, '../../AndroidManifest.xml'); } var manifest = new AndroidManifest(manifestPath); var pkgName = manifest.getPackageId();