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

Fix issue where it breaks when projectRoots is directly passed from command line #85

Closed
wants to merge 1 commit into from
Closed

Conversation

boopathi
Copy link
Contributor

I noticed that using projectRoots and root as command line arguments breaks stuff.

  • Calling ./packager.sh --projectRoots ./ will break because projectRoots will become a string.
  • --root is simple and --projectRoots is too big.

This is just a minor fix and I would consider it to be better approach.

options.projectRoots.push(path.resolve(root));
});
}
if('string' === typeof options.root) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can you add a space after the if

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure! 👍

@amasad
Copy link
Contributor

amasad commented Feb 25, 2015

happy to pull this, just one nit

…ommand line. - ./packager.sh --projectRoots ./ will break because project roots will become a string and breaks stuff
@arasmussen arasmussen force-pushed the master branch 5 times, most recently from 9b61be2 to 41453a5 Compare March 26, 2015 02:57
@boopathi
Copy link
Contributor Author

The source has become unknown repository when this went public, and my private clone wasn't available. Closing it now. Will rebase master and send another.

@boopathi boopathi closed this Mar 26, 2015
@amasad
Copy link
Contributor

amasad commented Mar 26, 2015

I might have pulled this, but haven't really closed the issue.

harrykiselev pushed a commit to harrykiselev/react-native that referenced this pull request Aug 5, 2015
jfrolich pushed a commit to jfrolich/react-native that referenced this pull request Apr 22, 2020
…okGH-85-Warnings-as-errors

adding warning as error flag to circleCI
react-one pushed a commit to react-one/react-native that referenced this pull request Sep 24, 2021
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