[
https://issues.apache.org/jira/browse/CB-11346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889183#comment-15889183
]
ASF GitHub Bot commented on CB-11346:
-------------------------------------
GitHub user purplecabbage opened a pull request:
https://github.com/apache/cordova-cli/pull/270
CB-11346 Remove known platforms check
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
cli
### What does this PR do?
Cleans up some messy code, removes checks for known platform names
### What testing has been done on this change?
tests all still pass
### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [x] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/purplecabbage/cordova-cli CB-11346
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-cli/pull/270.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #270
----
commit 7022efefa9795864eff1204d2b49e8c6328463bb
Author: Jesse MacFadyen <[email protected]>
Date: 2017-02-28T23:08:58Z
Remove un-used module and tests
commit a28e6c9cf5145a30f22ac5475d9d5cfaad7d840e
Author: Jesse MacFadyen <[email protected]>
Date: 2017-02-28T23:10:32Z
Removed underscore dependency. Added my last name, I am not Oprah ...yet.
commit 23f530debcb6e938045c480f57473e172552f0dd
Author: Jesse MacFadyen <[email protected]>
Date: 2017-03-01T00:13:07Z
Removed check for 'known' platforms, code cleanup, clarity, refactored
----
> Remove known platforms check for Platform API
> ---------------------------------------------
>
> Key: CB-11346
> URL: https://issues.apache.org/jira/browse/CB-11346
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CordovaLib
> Reporter: Shazron Abdullah
> Labels: cordova-7.0.0
>
> https://github.com/apache/cordova-lib/blob/61f584de5891c52431e40a2dd534ac24cc081fcb/cordova-lib/src/platforms/PlatformApiPoly.js#L58-L59
> So that users can install any "platform".
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]