Skip to content

Conversation

@andyf0x
Copy link
Contributor

@andyf0x andyf0x commented Oct 18, 2021

Hi @joeferner,

I found while looking at some platform-specific installation problems, that these errors were not visible. This PR should help to address this. It adds some checks to make sure we have a valid Java home directory before attempting the build.

I was also going to fix the version on package-lock file (omitted from 1621a7a when v0.12.2 was released), but Dependabot had already fixed it, so I'm including that here also.

I should have another PR ready soon to address the actual platform-specific issues, but that's a little more involved, so figured it makes sense to separate the PR's.

dependabot bot and others added 3 commits October 16, 2021 14:08
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Previously it was only reporting errors if the returned directory was
an empty string, so invalid path constructs were being returned.

The returned error message is also improved, so any bad path constructs
are visible during a failed installation.
@joeferner joeferner merged commit ce4f251 into joeferner:master Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants