Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Error path when project name is an object. #129

@dishuostec

Description

@dishuostec

deferred.resolve(projectName);

When Config.xml has short name:

<widget ...>
   <name short="HiCdv">HelloCordova</name>
</widget>

the projectName will be an object:

{ _: 'HelloCordova', '$': { short: 'HiCdv' } }

It should resolve by type.

      deferred.resolve((typeof projectName === 'object') ? projectName._ : projectName);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions