From 09e94789070b1795470481ec8b10b429105e58b1 Mon Sep 17 00:00:00 2001 From: Sourav Chanduka Date: Thu, 19 Aug 2021 10:49:39 +0530 Subject: [PATCH] comments resolved --- packages/core/__tests__/core.test.ts | 2 +- packages/core/src/core.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/__tests__/core.test.ts b/packages/core/__tests__/core.test.ts index 2cef4790..bf35f152 100644 --- a/packages/core/__tests__/core.test.ts +++ b/packages/core/__tests__/core.test.ts @@ -2,7 +2,7 @@ import * as fs from 'fs' import * as os from 'os' import * as path from 'path' import * as core from '../src/core' -import { HttpClient } from '@actions/http-client' +import {HttpClient} from '@actions/http-client' import {toCommandProperties} from '../src/utils' diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index f03b577e..7f509968 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -351,6 +351,6 @@ export function getState(name: string): string { return process.env[`STATE_${name}`] || '' } -export async function getIDToken(aud: string | undefined = undefined): Promise { +export async function getIDToken(aud?: string | undefined): Promise { return await OidcClient.getIDToken(aud) } \ No newline at end of file