You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/12/18 11:17:43 UTC
cordova-windows git commit: CB-10224 Removes duplicated/incorrect
console line
Repository: cordova-windows
Updated Branches:
refs/heads/master 58047a3da -> 1fdc15560
CB-10224 Removes duplicated/incorrect console 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/1fdc1556
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/1fdc1556
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/1fdc1556
Branch: refs/heads/master
Commit: 1fdc15560996f3b7aee49cf355c4fe2fb5e77a4e
Parents: 58047a3
Author: Vladimir Kotikov <ko...@gmail.com>
Authored: Fri Dec 18 13:05:26 2015 +0300
Committer: Vladimir Kotikov <ko...@gmail.com>
Committed: Fri Dec 18 13:10:36 2015 +0300
----------------------------------------------------------------------
template/cordova/lib/prepare.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/1fdc1556/template/cordova/lib/prepare.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/prepare.js b/template/cordova/lib/prepare.js
index 01b8798..9b04483 100644
--- a/template/cordova/lib/prepare.js
+++ b/template/cordova/lib/prepare.js
@@ -466,9 +466,6 @@ function addBOMSignature(directory) {
* configuration is already dumped to appropriate config.xml file.
*/
function updateConfigFilesFrom(sourceConfig, configMunger, locations) {
-
- events.emit('verbose', 'Generating config.xml from defaults for platform "windows"');
-
// First cleanup current config and merge project's one into own
var defaultConfig = locations.defaultConfigXml;
var ownConfig = locations.configXml;
@@ -477,7 +474,7 @@ function updateConfigFilesFrom(sourceConfig, configMunger, locations) {
// Otherwise save whatever is there as defaults so it can be
// restored or copy project config into platform if none exists.
if (fs.existsSync(defaultConfig)) {
- events.emit('verbose', 'Generating config.xml from defaults for platform "' + this.platform + '"');
+ events.emit('verbose', 'Generating config.xml from defaults for platform "windows"');
shell.cp('-f', defaultConfig, ownConfig);
} else if (fs.existsSync(ownConfig)) {
shell.cp('-f', ownConfig, defaultConfig);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org