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

Plugin restore ignores search path

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.2
    • cordova-cli
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment