fix: Platforms restored from both dev and normal dependencies. (#874)
authorAidanas Tamasauskas <aidanas.tamasauskas@gmail.com>
Sun, 26 Sep 2021 12:37:29 +0000 (13:37 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Sep 2021 12:37:29 +0000 (14:37 +0200)
commit33ce4fe787f4ea1508f83787b2d50083c2ea0154
treec34a78bb72847a78e682628a117223f5e204eef7
parent0b9fa571b0cafcf4f35f3b65c704f926bad26937
fix: Platforms restored from both dev and normal dependencies. (#874)

* fix: Check for platform version in both normal and dev dependencies within package.json file.

* fix: added unit test for package.json devDependencies (#866)

Co-authored-by: Aidanas Tamasauskas <aidana.tamasauskas@nutshellapps.co.uk>
Co-authored-by: Richard Li <li.richard.2013@gmail.com>
spec/cordova/platform/addHelper.spec.js
src/cordova/platform/addHelper.js