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

[Packager] Fix the --root, --assetRoots, and --platform options #1377

Closed
wants to merge 1 commit into from

Conversation

ide
Copy link
Contributor

@ide ide commented May 22, 2015

Looks like these options were handled as booleans when they should be handled as strings. Explicitly specify them as strings.

Test Plan: packager/packager.sh --root A --root B works. Also tested packager/packager.sh --root A,B.

@ide
Copy link
Contributor Author

ide commented May 22, 2015

This should go in the 0.5.0 branch as well (something broke in the May 22 sync).

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 22, 2015
Looks like these options were handled as booleans when they should be handled as strings. Explicitly specify them as strings.

Test Plan: `packager/packager.sh --root A --root B` works. Also tested `packager/packager.sh --root A,B`.

Tested the port option too: `packager/packager.sh --port 12345' and got a response visiting http://localhost:12345/index.includeRequire.runModule.bundle?dev=true.
@amasad
Copy link
Contributor

amasad commented May 26, 2015

👍 pulling.

tadeuzagallo pushed a commit to tadeuzagallo/react-native that referenced this pull request May 28, 2015
Summary:
Looks like these options were handled as booleans when they should be handled as strings. Explicitly specify them as strings.

Closes facebook#1377
Github Author: James Ide <ide@jameside.com>

Test Plan:
 `packager/packager.sh --root A --root B` works. Also tested `packager/packager.sh --root A,B`.
@ide ide closed this in 769efdf May 28, 2015
@ide ide deleted the packager-root-fix branch May 29, 2015 19:57
jsierles pushed a commit to rnplay/react-native that referenced this pull request Jun 8, 2015
Summary:
Looks like these options were handled as booleans when they should be handled as strings. Explicitly specify them as strings.

Closes facebook#1377
Github Author: James Ide <ide@jameside.com>

Test Plan:
 `packager/packager.sh --root A --root B` works. Also tested `packager/packager.sh --root A,B`.
cpojer pushed a commit to facebook/metro that referenced this pull request Jan 26, 2017
Summary:
Looks like these options were handled as booleans when they should be handled as strings. Explicitly specify them as strings.

Closes facebook/react-native#1377
Github Author: James Ide <ide@jameside.com>

Test Plan:
 `packager/packager.sh --root A --root B` works. Also tested `packager/packager.sh --root A,B`.
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants