Auto-fix linting errors

This commit is contained in:
Angela P Wen 2023-07-25 10:29:00 +02:00
parent eff6331393
commit b16296be30
52 changed files with 1182 additions and 1172 deletions

View file

@ -15,7 +15,7 @@ export async function checkoutExternalRepository(
ref: string,
apiDetails: GitHubApiExternalRepoDetails,
tempDir: string,
logger: Logger
logger: Logger,
): Promise<string> {
logger.info(`Checking out ${repository}`);
@ -24,7 +24,7 @@ export async function checkoutExternalRepository(
if (!checkoutLocation.startsWith(tempDir)) {
// this still permits locations that mess with sibling repositories in `tempDir`, but that is acceptable
throw new Error(
`'${repository}@${ref}' is not a valid repository and reference.`
`'${repository}@${ref}' is not a valid repository and reference.`,
);
}
@ -48,7 +48,7 @@ export async function checkoutExternalRepository(
export function buildCheckoutURL(
repository: string,
apiDetails: GitHubApiExternalRepoDetails
apiDetails: GitHubApiExternalRepoDetails,
): string {
const repoCloneURL = new URL(apiDetails.url);
if (apiDetails.externalRepoAuth !== undefined) {