Skip to content

Commit c4295f6

Browse files
fix: detect java correctly
In case you have incorrect JAVA_HOME, but you have `javac` in PATH, CLI's doctor checks will allow you to build, but Gradle will fail. Fix the logic to be the same as the one used in Gradle.
1 parent 344335b commit c4295f6

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

npm-shrinkwrap.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"mkdirp": "0.5.1",
5858
"mute-stream": "0.0.5",
5959
"nativescript-dev-xcode": "0.1.0",
60-
"nativescript-doctor": "1.9.1",
60+
"nativescript-doctor": "1.9.2",
6161
"nativescript-preview-sdk": "0.3.3",
6262
"open": "0.0.5",
6363
"ora": "2.0.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,10 +3720,10 @@ [email protected]:
37203720
simple-plist "^1.0.0"
37213721
uuid "^3.3.2"
37223722

3723-
3724-
version "1.9.1"
3725-
resolved "https://registry.yarnpkg.com/nativescript-doctor/-/nativescript-doctor-1.9.1.tgz#42ac6b15f7b1531d2fe07d32a30e50b89cf46bbb"
3726-
integrity sha512-qdluBILhzAQhnIg8Y83syyjy63rTt5pvx0SFpbtwj7kE+LsXJJRhHNa+1KEtznxh7jcTfdLEZjxxWDTIAIK5oA==
3723+
3724+
version "1.9.2"
3725+
resolved "https://registry.yarnpkg.com/nativescript-doctor/-/nativescript-doctor-1.9.2.tgz#a3b5b06c82bc20bf7bfde04552f3d52739229e85"
3726+
integrity sha512-HEBQS7eqycO3TzY3He94dM0AgPCQy3YMT6ZdHSVGDfxA5DhnhMgB0OWOvHPwR3TyL0BJhtLJnjrW4/hJjUw2SQ==
37273727
dependencies:
37283728
osenv "0.1.3"
37293729
semver "5.5.1"

0 commit comments

Comments
 (0)