mirror of https://github.com/actions/toolkit
comments resolved
parent
1f8d7b5a64
commit
09e9478907
|
@ -2,7 +2,7 @@ import * as fs from 'fs'
|
||||||
import * as os from 'os'
|
import * as os from 'os'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
import * as core from '../src/core'
|
import * as core from '../src/core'
|
||||||
import { HttpClient } from '@actions/http-client'
|
import {HttpClient} from '@actions/http-client'
|
||||||
import {toCommandProperties} from '../src/utils'
|
import {toCommandProperties} from '../src/utils'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -351,6 +351,6 @@ export function getState(name: string): string {
|
||||||
return process.env[`STATE_${name}`] || ''
|
return process.env[`STATE_${name}`] || ''
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getIDToken(aud: string | undefined = undefined): Promise<string> {
|
export async function getIDToken(aud?: string | undefined): Promise<string> {
|
||||||
return await OidcClient.getIDToken(aud)
|
return await OidcClient.getIDToken(aud)
|
||||||
}
|
}
|
Loading…
Reference in New Issue