You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tommy-Carlos Williams (JIRA)" <ji...@apache.org> on 2013/06/04 02:26:20 UTC

[jira] [Created] (CB-3573) cordova plugin add folder with trailing slash causes plugin files to be loose in ./plugins

Tommy-Carlos Williams created CB-3573:
-----------------------------------------

             Summary: 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


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