Fixing a powershell typo.
@@ -45,7 +45,7 @@ $DetectSkipJavaTest = Get-EnvironmentVariable -Key "DETECT_SKIP_JAVA_TEST" -Defa
# set DETECT_EXIT_CODE_PASSTHRU to 1 and this script won't exit, but simply return it (pass it thru).
$EnvDetectExitCodePassthru = Get-EnvironmentVariable -Key "DETECT_EXIT_CODE_PASSTHRU" -DefaultValue "";
-$Version = "0.4.0"
+$Version = "0.4.1"
$DetectReleaseBaseUrl = "https://test-repo.blackducksoftware.com/artifactory/bds-integrations-release/com/blackducksoftware/integration/hub-detect"
$DetectSnapshotBaseUrl = "https://test-repo.blackducksoftware.com/artifactory/bds-integrations-snapshot/com/blackducksoftware/integration/hub-detect"
@@ -215,7 +215,7 @@ function Test-JavaExists() {
Write-Host "Java Error Output: $StdError"
Write-Host "Successfully able to start java and get version."
}catch {
- Write-Hose "An error occurred checking the Java version. Please ensure Java is installed."
+ Write-Host "An error occurred checking the Java version. Please ensure Java is installed."
exit 127 #Command not found http://tldp.org/LDP/abs/html/exitcodes.html
}
}
