Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3573

cordova plugin add folder with trailing slash causes plugin files to be loose in ./plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0
    • cordova-cli
    • None

    Description

      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

      Attachments

        Activity

          People

            filmaj Filip Maj
            devgeeks Tommy-Carlos Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: