chore: wth prettier

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-02-22 11:29:35 +01:00
parent 5b7079a696
commit 8142c09b3f
@@ -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(