Skip to content

UnhandledPromiseRejectionWarning when creating plugin without ID #8

@hollyschinsky

Description

@hollyschinsky

If I run the following to create a plugin, it returns an UnhandledPromiseRejectionWarning though the plugin does get created.

       $ phonegap-plugin-create MyAwesomePlugin MyAwesomePlugin
       ? license MIT
       (node:10321) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'toLowerCase' of undefined

Would be nice to use a default id when one is not provided or prompt for one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions