Skip to content

Conversation

@darcymeyer
Copy link
Contributor

@darcymeyer darcymeyer commented Jan 11, 2018

What does this PR do?

This PR fixes the bug where cordova requirements did not print out version numbers correctly.
Previously, it would print something like ios-deploy: installed [object Object]. Now it prints ios-deploy: installed 1.9.2.

What testing has been done on this change?

This was a one line fix so none of the automated testing was run. I manually verified that the fix prints the version numbers correctly for the Android and iOS requirements.

Checklist

  • Reported an issue in the JIRA database
    Issue reported here: https://issues.apache.org/jira/browse/CB-13772
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.
    (No additional testing applicable)

Fixes a bug where "cordova requirements" printed out
[object Object] in place of the version number.
@janpio
Copy link
Member

janpio commented Mar 3, 2018

Hey @darcymeyer, this looks like a useful change - I also noticed this happening. Do you know why this suddenly is a problem?

@darcymeyer
Copy link
Contributor Author

Hi @janpio, I have no idea when or why this bug was introduced, I just noticed it one day. Maybe someone changed the json structure in which the version information was returned and didn't update the cli?

@janpio
Copy link
Member

janpio commented Mar 16, 2018

Ok, thanks for the update.

I am a bit careful merging this, as I am not 100% sure this is not somehow environment dependant or something :/

Anyone have any more insight here?

@janpio
Copy link
Member

janpio commented Aug 10, 2018

After looking at the code again, I am pretty confident this won't break anything.

@janpio janpio merged commit dca0e5b into apache:master Aug 10, 2018
@brody4hire brody4hire mentioned this pull request Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants