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

Specifying the --plugin flag without a value causes an exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-paramedic
    • Labels:
      None

      Description

      FYI: when I failed to add a path paramedic threw a 'type error':

      cordova-paramedic --platform android --plugin
      cordova-paramedic: creating temp project at /var/folders/p4/m50wzcnx3_5grsq_d3z5kq5w0000gn/T/tmp-21300Vfzeii04OHd0
      cordova-paramedic: installing true
      path.js:7
      throw new TypeError('Path must be a string. Received ' + inspect(path));
      ^

      TypeError: Path must be a string. Received true
      at assertPath (path.js:7:11)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                purplecabbage Jesse MacFadyen
                Reporter:
                sterlingann sterling gerritz
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: