mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 16:29:13 +08:00
async call fix
This commit is contained in:
parent
f55900670f
commit
aa1968c9e9
@ -287,7 +287,7 @@ export function getState(name: string): string {
|
||||
return process.env[`STATE_${name}`] || ''
|
||||
}
|
||||
|
||||
export function getIDToken(aud: string): Promise<string> {
|
||||
export async function getIDToken(aud: string): Promise<string> {
|
||||
let oidcClient = new OidcClient()
|
||||
return oidcClient.getIDToken(aud)
|
||||
return await oidcClient.getIDToken(aud)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user