Skip to content

xcparse should give better error when xcresult path leads to non-xcresult#47

Merged
abotkin-cpi merged 2 commits into
masterfrom
input_error
Jul 6, 2020
Merged

xcparse should give better error when xcresult path leads to non-xcresult#47
abotkin-cpi merged 2 commits into
masterfrom
input_error

Conversation

@abotkin-cpi

Copy link
Copy Markdown
Contributor

Change Description: This fixes #40 by putting an explicit check to see if the xcresult path exists as a directory with an Info.plist before attempting any xcresulttool attempts. If the path does not pass, an error is given to the user highlighting the input path they gave that does not appear to be an xcresult.

Test Plan/Testing Performed: Added unit tests to the commands to confirm the error will get shown.

@abotkin-cpi
abotkin-cpi requested a review from mgorkani July 5, 2020 18:18
@abotkin-cpi
abotkin-cpi requested a review from abotkin as a code owner July 5, 2020 18:18
@abotkin-cpi
abotkin-cpi merged commit 936c151 into master Jul 6, 2020
@abotkin-cpi
abotkin-cpi deleted the input_error branch July 6, 2020 00:32
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.

xcparse should give better error when xcresult path leads to non-xcresult

2 participants