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

React-native-server: Convert port to number in CLI options #8491

Merged
merged 1 commit into from Oct 20, 2019

Conversation

96f3e4c
Copy link
Contributor

@96f3e4c 96f3e4c commented Oct 20, 2019

Issue: #8487
The issue is caused by comparison operation between string and number ie: port specified via CLI and available port

What I did

Converting port type to number in CLI options parser

How to test

This will fix the above-mentioned issue

@vercel
Copy link

vercel bot commented Oct 20, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/oknkk5ys4
🌍 Preview: https://monorepo-git-fork-ramkrish2079-fix-rn-server-port-prompt.storybook.now.sh

@shilman shilman added react-native-server bug patch:yes Bugfix & documentation PR that need to be picked to main branch labels Oct 20, 2019
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix

@shilman shilman added this to the 5.2.x milestone Oct 20, 2019
@shilman shilman changed the title @storybook/react-native-server: convert port type to number in CLI options React-native-server: Convert port to number in CLI options Oct 20, 2019
@shilman shilman merged commit c65ed20 into storybookjs:next Oct 20, 2019
@96f3e4c 96f3e4c deleted the fix/rn-server-port-prompt branch October 20, 2019 17:04
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Oct 22, 2019
shilman added a commit that referenced this pull request Oct 22, 2019
React-native-server: Convert port to number in CLI options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch react-native-server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants