v0.0.56: style

This commit is contained in:
Edwin Sirko
2024-01-26 16:34:38 +00:00
committed by ddivad195
parent 995b9bd0a1
commit 86588e3791
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ export async function run(): Promise<void> {
if (!response.ok) {
throw new Error(`Failed to fetch status page: ${response.statusText}`)
}
const registryURL: URL = new URL((await response.json()).url)
const data = await response.json()
const registryURL: URL = new URL(data.url)
console.log(`registryURL (supplied): ${core.getInput('registry')}`) // TODO: get rid of the `registry` input
console.log(`registryURL (from URL): ${registryURL}`)