mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-03 16:03:08 +08:00
fix: optional arch parameter (#1153)
This commit is contained in:
parent
7428bd3a7f
commit
3081e5e6e9
@ -55,7 +55,7 @@ const outputFileComparator = compareByAll([
|
||||
* @param {'debug' | 'release'} buildType
|
||||
* @param {{arch?: string}} options
|
||||
*/
|
||||
function findOutputFiles (bundleType, buildType, { arch }) {
|
||||
function findOutputFiles (bundleType, buildType, { arch } = {}) {
|
||||
let files = glob.sync(`**/*.${bundleType}`, {
|
||||
absolute: true,
|
||||
cwd: path.resolve(this[`${bundleType}Dir`], buildType)
|
||||
|
Loading…
Reference in New Issue
Block a user