Skip to content

fix: prepare of pods should work on case-sensitive systems #5166

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

Merged
merged 3 commits into from
Dec 2, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

In case there's a case-sensitive file system, the preparation of Podfiles does not work as we check for iOS dir in the plugins, but the actual dir is ios.
Fix the case, add unit tests and remove some unneeded unit test.

Also fix some unit tests.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes issue #5159

In case there's a case-sensitive file system, the preparation of Podfiles does not work as we check for `iOS` dir in the plugins, but the actual dir is `ios`.
Fix the case, add unit tests and remove some unneeded unit test.
In case the hmrData is not passed during initial sync, the code will fail with some unexpected exception.
Handle the case and fix unit tests which are successful, but actually throw unhandled error in one of the event handlers.
A unit test messes up the current working directory by creating dir there and does not clean it up. Use temp dir for the test.
@rosen-vladimirov
Copy link
Contributor Author

test cli-run cli-templates

@rosen-vladimirov
Copy link
Contributor Author

test cli-run cli-templates cli-plugin

@rosen-vladimirov rosen-vladimirov merged commit b0cf146 into master Dec 2, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-pod-prepare branch December 2, 2019 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants