You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by al...@apache.org on 2016/09/15 12:28:08 UTC
cordova-windows git commit: CB-11857 Fixed VS 2015 detection on
Windows 10 Anniversary
Repository: cordova-windows
Updated Branches:
refs/heads/master 0855feb13 -> 72c9e6a75
CB-11857 Fixed VS 2015 detection on Windows 10 Anniversary
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/72c9e6a7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/72c9e6a7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/72c9e6a7
Branch: refs/heads/master
Commit: 72c9e6a75b4a66ad0fa6d48f773d40d882782e7f
Parents: 0855feb
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Thu Sep 15 15:07:43 2016 +0300
Committer: Alexander Sorokin <al...@akvelon.com>
Committed: Thu Sep 15 15:12:52 2016 +0300
----------------------------------------------------------------------
bin/lib/check_reqs.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/72c9e6a7/bin/lib/check_reqs.js
----------------------------------------------------------------------
diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js
index 9e31fda..dd41b81 100644
--- a/bin/lib/check_reqs.js
+++ b/bin/lib/check_reqs.js
@@ -150,7 +150,7 @@ function getInstalledVSVersions() {
.fail(function () {
// if we got any errors on previous steps, we're assuming that
// required VS update is not installed.
- installedVersions.splice(installedVersions.indexOf('12.0'));
+ installedVersions.splice(installedVersions.indexOf('12.0'), 1);
return installedVersions;
});
});
@@ -346,7 +346,7 @@ module.exports.run = function () {
/** Checks if Windows SDK required to build the target_platform is present
* @param {String} target_platorm Target platform ('8.1' or '10.0')
- */
+ */
module.exports.isWinSDKPresent = function (target_platform) {
return checkWinSdk(target_platform, '8.1');
};
@@ -421,9 +421,9 @@ module.exports.check_all = function() {
if (requirement.isFatal) fatalIsHit = true;
requirement.metadata.reason = err;
result.push(requirement);
- });
+ });
});
-
+
});
}, Q())
.then(function () {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org