mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-23 01:59:05 +08:00
lint
This commit is contained in:
parent
d7dd89f52b
commit
a7aa89a929
@ -4,7 +4,6 @@ import { IRequestOptions } from '@actions/http-client/interfaces'
|
|||||||
import {HttpClient} from '@actions/http-client'
|
import {HttpClient} from '@actions/http-client'
|
||||||
import {BearerCredentialHandler} from '@actions/http-client/auth'
|
import {BearerCredentialHandler} from '@actions/http-client/auth'
|
||||||
import {debug, setSecret} from './core'
|
import {debug, setSecret} from './core'
|
||||||
|
|
||||||
interface TokenResponse {
|
interface TokenResponse {
|
||||||
value?: string
|
value?: string
|
||||||
}
|
}
|
||||||
@ -42,9 +41,7 @@ export class OidcClient {
|
|||||||
return runtimeUrl
|
return runtimeUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async getCall(
|
private static async getCall(id_token_url: string): Promise<string> {
|
||||||
id_token_url: string
|
|
||||||
): Promise<string> {
|
|
||||||
const httpclient = OidcClient.createHttpClient()
|
const httpclient = OidcClient.createHttpClient()
|
||||||
|
|
||||||
const res = await httpclient
|
const res = await httpclient
|
||||||
|
Loading…
x
Reference in New Issue
Block a user