cordova-lib
cordova-lib copied to clipboard
cleanup: simplify deprecated indication a little
Platforms affected
all
Motivation and Context
updated:
From a regex used in PR #853 to test this functionality, I think it would be nice to simplify this a little.
Description
Simplify the code a little to show a deprecated platform in a form like this (made-up example):
wp7 4.5.6 - deprecated
Testing
- [x] update test cases from PR #853
Checklist
- [ ] I've run the tests to see all new and existing tests pass
- ~~I added automated test coverage as appropriate for this change~~
- ~~Commit is prefixed with
(platform)
if this change only applies to one platform (e.g.(android)
)~~ - ~~If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)~~
- ~~I've updated the documentation if necessary~~