Skip to content

Commit ccb9280

Browse files
committed
-UseBasicParsing
1 parent f93eb75 commit ccb9280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/get-java.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (!(test-path $JDK_TAR_GZ)) {
3333
$cookie.Value = "accept-securebackup-cookie"
3434
$cookie.Domain = "oracle.com"
3535
$session.Cookies.Add($cookie)
36-
Invoke-WebRequest -WebSession $session -Uri $JDK_URL -OutFile $JDK_TAR_GZ
36+
Invoke-WebRequest -UseBasicParsing -WebSession $session -Uri $JDK_URL -OutFile $JDK_TAR_GZ
3737
}
3838

3939

0 commit comments

Comments
 (0)