mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 20:19:06 +08:00
lint
This commit is contained in:
parent
a7aa89a929
commit
eb88fce3c0
22059
package-lock.json
generated
22059
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,9 @@ export class OidcClient {
|
|||||||
private static getRequestToken(): string {
|
private static getRequestToken(): string {
|
||||||
const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']
|
const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']
|
||||||
if (!token) {
|
if (!token) {
|
||||||
throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable')
|
throw new Error(
|
||||||
|
'Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
return token
|
return token
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user