-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Conversation
options.projectRoots.push(path.resolve(root)); | ||
}); | ||
} | ||
if('string' === typeof options.root) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure! 👍
happy to pull this, just one nit |
…ommand line. - ./packager.sh --projectRoots ./ will break because project roots will become a string and breaks stuff
9b61be2
to
41453a5
Compare
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. |
I might have pulled this, but haven't really closed the issue. |
Update link in README
…okGH-85-Warnings-as-errors adding warning as error flag to circleCI
I noticed that using projectRoots and root as command line arguments breaks stuff.
./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.