mirror of https://github.com/actions/toolkit
async call fix
parent
f55900670f
commit
aa1968c9e9
|
@ -287,7 +287,7 @@ export function getState(name: string): string {
|
||||||
return process.env[`STATE_${name}`] || ''
|
return process.env[`STATE_${name}`] || ''
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getIDToken(aud: string): Promise<string> {
|
export async function getIDToken(aud: string): Promise<string> {
|
||||||
let oidcClient = new OidcClient()
|
let oidcClient = new OidcClient()
|
||||||
return oidcClient.getIDToken(aud)
|
return await oidcClient.getIDToken(aud)
|
||||||
}
|
}
|
Loading…
Reference in New Issue