cordova-plugin-media-capture icon indicating copy to clipboard operation
cordova-plugin-media-capture copied to clipboard

Fix using single version in cordovaDependencies

Open ath0mas opened this issue 3 years ago • 0 comments

Platforms affected

Package

Motivation and Context

Warn logged while adding plugin with verbose option:

$ cordova plugin add cordova-plugin-media-capture -d
...
Ignoring invalid version in cordova-plugin-media-capture cordovaDependencies: >=1.4.4 (must be a single version <= latest or an upper bound)
...

Description

Using single version 1.4.4 is interpreted as >=1.4.4 so indeed actual value can be simplified.

Testing

Checklist

  • [x] I've run the tests to see all new and existing tests pass
  • [x] I added automated test coverage as appropriate for this change
  • [x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • [x] 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)
  • [x] I've updated the documentation if necessary

ath0mas avatar Feb 20 '21 22:02 ath0mas