CB-13601: Fixing lint error and mis-spelling of variable

This commit is contained in:
Joe Bowser 2017-11-22 11:47:05 -08:00
parent 5d57eff612
commit d8f10c33dc
2 changed files with 1 additions and 2 deletions

View File

@ -47,7 +47,6 @@ function parseOpts (options, resolvedTarget, projectRoot) {
keystoreType: String keystoreType: String
}, {}, options.argv, 0); }, {}, options.argv, 0);
// Android Studio Build method is the default // Android Studio Build method is the default
var ret = { var ret = {
buildType: options.release ? 'release' : 'debug', buildType: options.release ? 'release' : 'debug',

View File

@ -435,7 +435,7 @@ module.exports.install = function (givenTarget, buildResults) {
// We need to find the proper path to the Android Manifest // We need to find the proper path to the Android Manifest
var manifestPath = path.join(__dirname, '..', '..', 'app', 'src', 'main', 'AndroidManifest.xml'); var manifestPath = path.join(__dirname, '..', '..', 'app', 'src', 'main', 'AndroidManifest.xml');
if (buildResults.buildMethod === 'gradle') { if (buildResults.buildMethod === 'gradle') {
mainfestPath = path.join(__dirname, '../../AndroidManifest.xml'); manifestPath = path.join(__dirname, '../../AndroidManifest.xml');
} }
var manifest = new AndroidManifest(manifestPath); var manifest = new AndroidManifest(manifestPath);
var pkgName = manifest.getPackageId(); var pkgName = manifest.getPackageId();