mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 17:10:15 +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
|
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',
|
||||||
|
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
|
// 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();
|
||||||
|
Loading…
Reference in New Issue
Block a user