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(cli): cordova plugins merges before clobbers #1616

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

CFT-Chris
Copy link
Contributor

Short description of what this resolves:

Some plugins become undefined due to ordering of cordova/plugin_list section of code in capacitor-runtime.js generated by cordova.js in cli when performing npx cap copy/sync/add etc.

Changes proposed in this pull request:

Make sure clobbers occur before merges for the cordova plugin_list. Order by clobbers alphabetically then merges alphabetically (under the same theory that a merged "foo.bar" should not be blown away by a merged "foo" that may contain "bar", like the AppCenter/AppCenter.Analytics issue of #1523)

Capacitor Version: 1.0.0

Fixes: #1615

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

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

good catch and nice PR!

@jcesarmobile jcesarmobile merged commit 5c86b20 into ionic-team:master Jun 3, 2019
@CFT-Chris CFT-Chris deleted the cordova-js-file-clobber branch June 3, 2019 18:42
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.

2 participants