You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/14 20:30:26 UTC
[GitHub] [cordova-android] brodybits opened a new pull request #779:
Consistent order from ProjectBuilder.apkSorter
brodybits opened a new pull request #779: Consistent order from ProjectBuilder.apkSorter
URL: https://github.com/apache/cordova-android/pull/779
The existing implementation of this function gives a different order depending on the behavior of `Array.prototype.sort()`, which has led to a test failure on Node.js 12 (see apache/cordova-android#767).
This update gives a consistent sort order, regardless of the JavaScript engine implementation, now succeeds on Node.js versions 6, 8, 10, and 12.
Resolves #767
I hope this explanation is clear enough. If anyone can think of a better explanation or has any criticism, feedback would be much appreciated.
For reference:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
/cc @breautek
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org