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

Error path when project name is an object. #129

Open
dishuostec opened this issue Oct 9, 2018 · 0 comments
Open

Error path when project name is an object. #129

dishuostec opened this issue Oct 9, 2018 · 0 comments

Comments

@dishuostec
Copy link

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);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant