Performing the read asynchronously introduces a race condition that can cause the changes to not have been made yet when they are checked by git.
This issue introduces random nightly build failures. Fixes #195 <!-- Please make sure the checklist boxes are all checked before submitting the PR. The checklist is intended as a quick reference, for complete details please see our Contributor Guidelines: http://cordova.apache.org/contribute/contribute_guidelines.html Thanks! --> ### Platforms affected Jenkins ### What does this PR do? Fixes failing nightly builds. ### What testing has been done on this change? None. ### Checklist - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database ← **should this still be here? A PR on GitHub is essentially an issue.** - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected. - [X] Added automated test coverage as appropriate for this change. [ Full content available at: https://github.com/apache/cordova-coho/pull/196 ] This message was relayed via gitbox.apache.org for [email protected]
