This commit is contained in:
TingluoHuang 2021-08-25 17:02:45 -04:00
parent a7aa89a929
commit eb88fce3c0
2 changed files with 22036 additions and 27 deletions

22059
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,9 @@ export class OidcClient {
private static getRequestToken(): string {
const token = process.env['ACTIONS_ID_TOKEN_REQUEST_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
}