You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WMIC is the command line tool used under the hood by node-disk-info to get drive information. Microsoft has deprecated WMIC and node-disk-info is not being updated. As such, we have dropped the package and replaced the functionality.
Also included in this release is a general dependency upgrade which includes an upgrade of the linter. The project has switched to a more stringent default ruleset, which required a number of code quality changes.
Changes
e5f8ba4 Drop node-disk-info and resolve drives via powershell.
This update fixes a few issues with the Java discovery to make it more fault tolerant. Namely fixes the following:
Only check against the standard java.version property to avoid obscure formats by different vendors. This also means that the build number is no longer collected.
If a JVM version format is not valid, warn and skip. Do not throw an error.
Add error handling around -XshowSettings invocation. This is to prevent derailing the Java discovery process in the event a nonexistent path is passed or an unrelated error occurs during command invocation.