Skip to content

Commit

Permalink
[macOS] Fix default java postfix in the software readme (actions#3518)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketimofeev authored Jun 3, 2021
1 parent 7d7bce1 commit 59ca08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/macos/software-report/SoftwareReport.Java.psm1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function Get-JavaVersions {
$defaultJavaPath = Get-Item env:JAVA_HOME
$defaultJavaPath = (Get-Item env:JAVA_HOME).value
$javaVersions = Get-Item env:JAVA_HOME_*_X64
$sortRules = @{
Expression = { [Int32]$_.Name.Split("_")[2] }
Expand Down

0 comments on commit 59ca08e

Please sign in to comment.