cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: fix for using glob since its dumb
Date Fri, 17 May 2013 22:56:21 GMT
Updated Branches:
  refs/heads/wp 8c8354750 -> abcece076


fix for using glob since its dumb


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/abcece07
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/abcece07
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/abcece07

Branch: refs/heads/wp
Commit: abcece076790ffe91b26896325b2dd2d813e0044
Parents: 8c83547
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri May 17 15:56:17 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri May 17 15:56:17 2013 -0700

----------------------------------------------------------------------
 src/platforms/wp7.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/abcece07/src/platforms/wp7.js
----------------------------------------------------------------------
diff --git a/src/platforms/wp7.js b/src/platforms/wp7.js
index 01645f0..617297a 100644
--- a/src/platforms/wp7.js
+++ b/src/platforms/wp7.js
@@ -101,7 +101,7 @@ module.exports = {
         return xml_helpers.parseElementtreeSync(path.join(project_dir, 'Properties', 'WMAppManifest.xml')).find('App').attrib.ProductID;
     },
     parseWP7ProjectFile:function(project_dir) {
-        var project_files = glob.sync(path.join(project_dir, '*.csproj'));
+        var project_files = glob.sync(project_dir.split('\\').join('/') + '/*.csproj');
         if (project_files.length === 0) {
             throw new Error('does not appear to be a Windows Phone project (no .csproj file)');
         }


Mime
View raw message