Skip to content

Commit

Permalink
fix jsc urls
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed May 6, 2021
1 parent 1a4dd39 commit 1684331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engines/javascriptcore.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ class JavaScriptCoreInstaller extends Installer {
.then((r) => r.text())
.then((n) => n.trim().replace('.zip', ''));
case 'win32-x64': {
const body = await fetch('https://build.webkit.org/api/v2/builders/27/builds?limit=1&order=-number&property=owners&property=workername&property=got_revision&property=identifier')
const body = await fetch('https://build.webkit.org/api/v2/builders/27/builds?limit=1&order=-number&property=got_revision&complete=true')
.then((r) => r.json());
return body.builds[0].properties.got_revision[0];
}
case 'darwin-x64': {
const body = await fetch('https://build.webkit.org/api/v2/builders/54/builds?limit=1&order=-number&property=owners&property=workername&property=got_revision&property=identifier')
const body = await fetch('https://build.webkit.org/api/v2/builders/54/builds?limit=1&order=-number&property=got_revision&complete=true')
.then((r) => r.json());
return body.builds[0].properties.got_revision[0];
}
Expand Down

0 comments on commit 1684331

Please sign in to comment.