Cleanup
This commit is contained in:
Vendored
+306
-20
File diff suppressed because it is too large
Load Diff
Generated
+3
-231
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -35,10 +35,9 @@
|
||||
"@types/node": "^12.0.4",
|
||||
"@types/semver": "^6.0.0",
|
||||
"@zeit/ncc": "^0.20.5",
|
||||
"husky": "^3.0.0",
|
||||
"jest": "^24.8.0",
|
||||
"jest-circus": "^24.7.1",
|
||||
"prettier": "^1.17.1",
|
||||
"prettier": "^1.19.1",
|
||||
"ts-jest": "^24.0.2",
|
||||
"typescript": "^3.5.1"
|
||||
},
|
||||
|
||||
+3
-3
@@ -41,9 +41,9 @@ export async function getJava(
|
||||
if (!jdkFile) {
|
||||
core.debug('Downloading Jdk from Azul');
|
||||
let http: httpm.HttpClient = new httpm.HttpClient('setup-java');
|
||||
let contents = await (await http.get(
|
||||
'https://static.azul.com/zulu/bin/'
|
||||
)).readBody();
|
||||
let contents = await (
|
||||
await http.get('https://static.azul.com/zulu/bin/')
|
||||
).readBody();
|
||||
let refs = contents.match(/<a href.*\">/gi) || [];
|
||||
|
||||
const downloadInfo = getDownloadInfo(refs, version, javaPackage);
|
||||
|
||||
Reference in New Issue
Block a user