Skip to content

Commit

Permalink
fix: optional arch parameter (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek authored Jan 20, 2021
1 parent 7428bd3 commit 3081e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/templates/cordova/lib/builders/ProjectBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3081e5e

Please sign in to comment.