Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple platform list to contain spaces #966

Merged
merged 2 commits into from Dec 4, 2015

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented Dec 3, 2015

Fixes #957.

case 0:
return nil

case 1:
return findBuildPlatform(commaSeparated[0])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use commaSeparated.first!?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that we are using [0] rather than first! in the codebase.

@NachoSoto
Copy link
Contributor

This looks good! Just a few optional suggestions :)

@ikesyo
Copy link
Member Author

ikesyo commented Dec 4, 2015

Thank you for the suggestions! I've updated findBuildPlatform.

@mdiep
Copy link
Member

mdiep commented Dec 4, 2015

👏

mdiep added a commit that referenced this pull request Dec 4, 2015
Allow multiple platform list to contain spaces
@mdiep mdiep merged commit de21a64 into master Dec 4, 2015
@mdiep mdiep deleted the fix-platform-list-with-spaces branch December 4, 2015 16:03
@NachoSoto
Copy link
Contributor

🚀

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.

None yet

3 participants