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

When cordova add plugin fails using the id in the git URL we now retry using the plugin name #11202

Merged
merged 3 commits into from
Oct 31, 2020

Conversation

filipenevola
Copy link
Collaborator

Fixes #11199

Copy link
Contributor

@namenotrequired namenotrequired left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent solution, thanks Filipe! In my tests this solves my issue without breaking the original issue.

I'm approving because the only comments are about the logs

commandOptions));
} catch (error) {
if (retry && utils.isUrlWithSha(version)) {
Console.warn(`plugin add for ${id} failed with plugin id in \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation is causing random spaces in the message

(Also, tinyest of nitpicks, but the other log messages start with a capital letter, I think it improves readability)

Screen Shot 2020-10-06 at 15 39 28

@filipenevola filipenevola added this to the Release 1.12 milestone Oct 28, 2020
@filipenevola filipenevola added Project:Mobile confirmed We want to fix or implement it labels Oct 28, 2020
@filipenevola filipenevola changed the base branch from devel to release-1.12 October 31, 2020 15:49
@filipenevola filipenevola merged commit b913a64 into release-1.12 Oct 31, 2020
@filipenevola filipenevola deleted the cordova-plugin-add-url-id branch October 31, 2020 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed We want to fix or implement it Project:Mobile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undocumented breaking change in Meteor 1.11: install plugins by name not id
2 participants