mirror of https://github.com/actions/toolkit
lint
parent
b2c6bee10a
commit
fe8d95a8fc
|
@ -68,7 +68,8 @@ export class OidcClient {
|
|||
// New ID Token is requested from action service
|
||||
let id_token_url: string = OidcClient.getIDTokenUrl()
|
||||
if (audience) {
|
||||
id_token_url = `${id_token_url}&audience=${encodeURIComponent(audience)}`
|
||||
const encodedAudience = encodeURIComponent(audience)
|
||||
id_token_url = `${id_token_url}&audience=${encodedAudience}`
|
||||
}
|
||||
|
||||
debug(`ID token url is ${id_token_url}`)
|
||||
|
|
Loading…
Reference in New Issue