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/23 04:30:15 UTC
[cordova-windows] 02/03: fix a default case in
template/cordova/lib/build.js
This is an automated email from the ASF dual-hosted git repository.
brodybits pushed a commit to branch brodybits-uwp-only-test-wip0560
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit 5bb5bcbac72cddc300efbc2dfbc510c453ea1185
Author: Christopher J. Brody <ch...@brody.consulting>
AuthorDate: Sun Dec 22 23:26:04 2019 -0500
fix a default case in template/cordova/lib/build.js
---
template/cordova/lib/build.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index 9581170..73ad0b8 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -148,10 +148,8 @@ function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig)
if (targets.length > 0) {
switch (targets[0]) {
case projFiles.win10:
- buildConfig.targetProject = 'windows10';
- break;
default:
- buildConfig.targetProject = 'windows';
+ buildConfig.targetProject = 'windows10';
break;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org