Bugfix/java checks (#1228)
authorNorman Breau <norman@normanbreau.com>
Sun, 9 May 2021 20:52:35 +0000 (17:52 -0300)
committerGitHub <noreply@github.com>
Sun, 9 May 2021 20:52:35 +0000 (17:52 -0300)
commit6d803e2f7236db32fc963150c1683e097f453867
tree5305091124eeaff198b0666053e41026de0f826f
parentae4dba2bb87e53310c1949861c482ecfd0f812d0
Bugfix/java checks (#1228)

* fix: Java version parsing if java executable prints out additional information with --version

* fix: Ensure JAVA_HOME path comes first in the PATH environment

* refactor: Removed redundent code in favour of keeping a change introduced from another PR
bin/templates/cordova/lib/env/java.js
spec/unit/java.spec.js