You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/03/10 00:33:54 UTC
cordova-windows git commit: Fixed wording of warning + removed a
commented out line
Repository: cordova-windows
Updated Branches:
refs/heads/master 030be05e7 -> a0c041698
Fixed wording of warning + removed a commented out line
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/a0c04169
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/a0c04169
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/a0c04169
Branch: refs/heads/master
Commit: a0c041698533932ea2e1da50d2f4ded8c826ebc3
Parents: 030be05
Author: unknown <ch...@gmail.comcd>
Authored: Fri Feb 13 15:33:59 2015 -0800
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon Mar 9 16:33:34 2015 -0700
----------------------------------------------------------------------
template/cordova/lib/utils.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/a0c04169/template/cordova/lib/utils.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/utils.js b/template/cordova/lib/utils.js
index f1cd8d0..22faf13 100644
--- a/template/cordova/lib/utils.js
+++ b/template/cordova/lib/utils.js
@@ -57,7 +57,6 @@ module.exports.getAppStoreUtils = function () {
if (!fs.existsSync (appStoreUtils)) {
return Q.reject('Can\'t unblock AppStoreUtils script');
}
- //console.log("Removing execution restrictions from AppStoreUtils...");
return spawn('powershell', ['Unblock-File', module.exports.quote(appStoreUtils)]).then(function () {
return Q.resolve(appStoreUtils);
}).fail(function (err) {
@@ -69,9 +68,9 @@ module.exports.getAppStoreUtils = function () {
module.exports.getAppDeployUtils = function () {
var appDeployUtils = path.join((process.env['ProgramFiles(x86)'] || process.env['ProgramFiles']),
'Microsoft SDKs', 'Windows Phone', 'v8.1', 'Tools', 'AppDeploy', 'AppDeployCmd.exe');
- // Check if AppDeployCmd is exists
+ // Check if AppDeployCmd exists
if (!fs.existsSync(appDeployUtils)) {
- console.warn('WARNING: AppDeploy tool (AppDeployCmd.exe) didn\'t found. Assume that it\'s in %PATH%');
+ console.warn('WARNING: AppDeploy tool (AppDeployCmd.exe) wasn\'t found. Make sure that it\'s in %PATH%');
return Q.resolve('AppDeployCmd');
}
return Q.resolve(appDeployUtils);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org