From 35f48c0cb52ca9f32bc395b6159fbc7238bcef0a Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Sun, 23 May 2021 22:30:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Format=20and=20lint=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rollup.config.js | 5 +---- src/providers/oauth2.base.ts | 6 +++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index cd548d8..35c799b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -15,10 +15,7 @@ export default [ sourcemap: true, format: "cjs", }, - plugins: [ - esbuild(), - multiInput(), - ], + plugins: [esbuild(), multiInput()], external: [ ...Object.keys(globals), "@sveltejs/kit/assets/runtime/app/navigation", diff --git a/src/providers/oauth2.base.ts b/src/providers/oauth2.base.ts index ff12fcd..e814d47 100644 --- a/src/providers/oauth2.base.ts +++ b/src/providers/oauth2.base.ts @@ -8,7 +8,11 @@ export interface OAuth2BaseProviderConfig extends ProviderConfig { } export abstract class OAuth2BaseProvider extends Provider { - abstract getAuthorizationUrl(request: ServerRequest, auth: Auth, state: string): string | Promise; + abstract getAuthorizationUrl( + request: ServerRequest, + auth: Auth, + state: string, + ): string | Promise; abstract getTokens(code: string, redirectUri: string): any | Promise; abstract getUserProfile(tokens: any): any | Promise;