[
https://issues.apache.org/jira/browse/CB-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filip Maj resolved CB-3573.
---------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
I can verify that this is not happening in npm version 2.8.2.
> cordova plugin add folder with trailing slash causes plugin files to be loose
> in ./plugins
> ------------------------------------------------------------------------------------------
>
> Key: CB-3573
> URL: https://issues.apache.org/jira/browse/CB-3573
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.6.0
> Reporter: Tommy-Carlos Williams
> Assignee: Filip Maj
> Fix For: 2.8.0
>
>
> If for instance you have a plugin cloned just outside your project and try
> and add it, this works fine:
> cordova plugin add ../my_plugin
> However, if you do this:
> cordova plugin add ../my_plugin/
> ...just like a cp, the files in ../my_plugin are added in loose in ./plugins
> instead of in a folder called my_plugins
> I am aware this is on a version a couple versions behind, but it might be
> still happening in the newer versions but the rapid change in the plugin
> tooling has caused me to need to stay on 2.6.x
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira