mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
CB-13601: Fixing lint error and mis-spelling of variable
This commit is contained in:
parent
5d57eff612
commit
d8f10c33dc
1
bin/templates/cordova/lib/build.js
vendored
1
bin/templates/cordova/lib/build.js
vendored
@ -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',
|
||||
|
2
bin/templates/cordova/lib/emulator.js
vendored
2
bin/templates/cordova/lib/emulator.js
vendored
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user