fix webIdentityTokenFile option, rearrange validation logic

This commit is contained in:
peterwoodworth committed 2023-06-30 15:40:41 -07:00
1 parent 7526948ef9
commit 2b32a8f2c6
4 files changed
+53 -80

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import type { Credentials } from '@aws-sdk/client-sts';
import type { CredentialsClient } from './CredentialsClient';
export declare function exportCredentials(creds?: Partial<Credentials>): void;
export declare function exportRegion(region: string): void;
export declare function exportAccountId(credentialsClient: CredentialsClient, maskAccountId?: string): Promise<string>;
export declare function exportAccountId(credentialsClient: CredentialsClient, maskAccountId?: boolean): Promise<string>;
export declare function sanitizeGitHubVariables(name: string): string;
export declare function defaultSleep(ms: number): Promise<unknown>;
declare let sleep: typeof defaultSleep;