Marcus Pridham created CB-5390:
----------------------------------

             Summary: Removing a plugin with multi-level dependencies does not 
removal all plugins
                 Key: CB-5390
                 URL: https://issues.apache.org/jira/browse/CB-5390
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, Plugman
    Affects Versions: 3.2.0
            Reporter: Marcus Pridham
            Priority: Minor


I have 3 plugins that depend on each other. a depends on b that depends on c.  
a -> b -> c

The problem is that if I install plugin a and remove it later it leaves plugin 
c for some reason.

{code}
$ cordova plugin rm a
Uninstalling 2 dangling dependent plugins.
Uninstalling c from ios
Uninstalling b from ios
Preparing ios project
Preparing ios project
Uninstalling a from ios
Preparing ios project
Deleting plugin a
Found 2 removable plugins. Deleting them.
$ cordova plugins
[ 'c' ]
{code}

The sample plugins can be found here:
https://github.com/marcuspridham/plugman-issue

I'm using Cordova CLI 3.2.0-rc.1.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to