You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2019/12/22 17:40:09 UTC
[cordova-windows] 21/21: fixup! general comments and TODO
This is an automated email from the ASF dual-hosted git repository.
brodybits pushed a commit to branch brodybits-uwp-only-wip001
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit 372caa3bb73707b1d92c5d2bd02315fd317b6493
Author: Christopher J. Brody <ch...@brody.consulting>
AuthorDate: Sun Dec 22 12:37:45 2019 -0500
fixup! general comments and TODO
- remove another trailing space
- add back a newline that was removed
---
template/cordova/lib/run.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/template/cordova/lib/run.js b/template/cordova/lib/run.js
index 4e41375..e212835 100644
--- a/template/cordova/lib/run.js
+++ b/template/cordova/lib/run.js
@@ -59,11 +59,12 @@ module.exports.run = function (options) {
// Get build/deploy options
var buildType = options.release ? 'release' : 'debug';
-
+
// CB-11478 Allow to specify 'archs' parameter as either cli or platform
// option i.e. 'cordova run --archs' vs. 'cordova run -- --archs'
var archs = options.archs || args.archs || ['anycpu'];
if (typeof archs === 'string') { archs = archs.split(' '); }
+
var buildArchs = archs.map(function (arch) { return arch.toLowerCase(); });
var deployTarget = options.target ? options.target : (options.emulator ? 'emulator' : 'device');
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org