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/afb532aa Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/afb532aa Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/afb532aa Branch: refs/heads/master Commit: afb532aa9d9c1a0e5afb99eff47b5de59dfa2666 Parents: d3ba3a5 Author: Fil Maj <[email protected]> Authored: Fri May 17 15:56:17 2013 -0700 Committer: Fil Maj <[email protected]> Committed: Fri May 17 16:46:01 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/afb532aa/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)'); }
