cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daserge <>
Subject [GitHub] cordova-windows pull request #185: CB-11558 Make windows plugin rm remove Pr...
Date Tue, 02 Aug 2016 08:25:09 GMT
Github user daserge commented on a diff in the pull request:
    --- Diff: template/cordova/lib/PluginHandler.js ---
    @@ -105,7 +105,7 @@ var handlers = {
                 var type = obj.type;
                 if(type === 'projectReference') {
    -                project.removeProjectReference(path.join(plugin.dir, src), getTargetConditions(obj));
    +                project.removeProjectReference(path.join('..', '..', 'plugins',,
src), getTargetConditions(obj));
    --- End diff --
    Updated, thanks for review!
    There was an issue with mock dummyplugin, which PluginInfo.dir was initialized with a
corresponding fixture path - so in case when the temp folder was on a different drive it caused
path.relative to resolve in an absolute path in [PluginHandler.framework.install](
    Normally we have a plugin.dir path initialized with relative path to the project root,
i.e. `project_root/plugins/plugin-id` - so I've updated the tests accordingly.
    I've also tested that install/rm a plugin from another drive updates jsproj files properly.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message