From 8142c09b3f08f27f571d0ece8c10992d2d9efcea Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 22 Feb 2022 11:29:35 +0100 Subject: [PATCH] chore: wth prettier Signed-off-by: blam --- .../scaffolder/actions/builtin/github/helpers.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts index 542de013b4..c310389488 100644 --- a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts +++ b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/github/helpers.ts @@ -56,13 +56,12 @@ export async function getOctokitOptions(options: { // TODO(blam): Consider changing this API to take host and repo instead of repoUrl, as we end up parsing in this function // and then parsing in the `getCredentials` function too the other side - const { - token: credentialProviderToken, - } = await githubCredentialsProvider.getCredentials({ - url: `https://${host}/${encodeURIComponent(owner)}/${encodeURIComponent( - repo, - )}`, - }); + const { token: credentialProviderToken } = + await githubCredentialsProvider.getCredentials({ + url: `https://${host}/${encodeURIComponent(owner)}/${encodeURIComponent( + repo, + )}`, + }); if (!credentialProviderToken) { throw new InputError(