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(appflow): fix deploy manifest for Capacitor 1.x apps #4648

Merged
merged 1 commit into from Feb 22, 2021

Conversation

devinshoemaker
Copy link
Contributor

Capacitor 2.x apps would throw a status code of 1 with capacitor config --json and the output variable in this case would be undefined. However, on Capacitor 1.x apps this results in a status code of 0 and the output variable is populated with text that we weren't expecting. This change will ensure that the output of that command can be parsed into JSON, in which we should reliably know that the user is using Capacitor 3.x and that we can retrieve their config from this command while supporting Capacitor 1.x and 2.x as well.

@devinshoemaker devinshoemaker merged commit 77b02a3 into develop Feb 22, 2021
@devinshoemaker devinshoemaker deleted the deploy-manifest-fix branch February 22, 2021 22:38
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.

None yet

2 participants