Closed snewell92 closed 7 years ago
Ideally Cordova would just output its semver number, so I added an issue in Cordova's jira issue tracker here.
I'll try to land a PR in cordova's CLI repo instead of here. Closing this as ionic shouldn't have to specially treat -v output.
Although using semver
to test validity as a unit test is still a pretty good idea! 😉
Would fix issue drifty/ionic-cli#1376
Might be a good idea to add tests if all of
allEnvironmentInfo
's data should be semantic version numbers;semver.valid
could be used.