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 01:50:32 UTC

[cordova-windows] 01/02: fix problem for e2e tests

This is an automated email from the ASF dual-hosted git repository.

brodybits pushed a commit to branch brodybits-uwp-only-test-wip0499
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git

commit 2da251fac2e28088a2c4c3e1c1793b04201b7541
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri Feb 16 01:20:49 2018 +0100

    fix problem for e2e tests
---
 bin/lib/check_reqs.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js
index 5006f34..9855c36 100644
--- a/bin/lib/check_reqs.js
+++ b/bin/lib/check_reqs.js
@@ -304,7 +304,7 @@ var checkVS = function (windowsTargetVersion, windowsPhoneTargetVersion) {
         });
 };
 
-var checkWinSdk = function (windowsTargetVersion, windowsPhoneTargetVersion) {
+var checkWinSdk = function (windowsTargetVersion, windowsPhoneTargetVersion) { // TODO remove phone?
     return getInstalledWindowsSdks()
         .then(function (installedSdks) {
             var requiredVersion = getMinimalRequiredVersionFor('windowssdk', windowsTargetVersion, windowsPhoneTargetVersion);
@@ -352,7 +352,7 @@ module.exports.run = function () {
  * @param {String}  target_platorm        Target platform ('8.1' or '10.0')
  */
 module.exports.isWinSDKPresent = function (target_platform) {
-    return checkWinSdk(target_platform, '8.1');
+    return checkWinSdk(target_platform, target_platform); 
 };
 
 // Checks if min SDK required to build Windows Phone 8.1 project is present


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org