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

Plugin restore ignores search path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.2
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      If I run the command:
      cordova prepare --searchpath ~/cordova-plugins

      I would expect the CLI to try restore plugins in the config.xml from the provided searchpath. Currently this parameter is ignored.

      I can get this to work if I modify the opts variable in cli.js and add:
      searchpath : args.searchpath,

      https://github.com/apache/cordova-cli/blob/master/src/cli.js#L179

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alsorokin Alexander Sorokin
                Reporter:
                mpridham Marcus Pridham
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: