Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit e73c3bf

Browse files
committed
fix lint
1 parent dfc2107 commit e73c3bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/commands/login.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ export async function handler(argv: Arguments<Options>) {
8080
s.start("Redirecting to the browser...");
8181
const config = await api.getAuthConfig();
8282
const creds = await startServer(config, oathData.otp, argv);
83-
84-
if(idpProvider === 'GitHub') {
85-
idpProvider = 'GITHUB'
83+
84+
if (idpProvider === "GitHub") {
85+
idpProvider = "GITHUB";
8686
}
87-
87+
8888
const loginUrl = `${config.url}/oauth2/authorize?client_id=${config.client}&response_type=code&scope=email+openid+phone+profile&redirect_uri=http://localhost:${PORT}&identity_provider=${idpProvider}`;
8989
await open.default(loginUrl);
9090

0 commit comments

Comments
 (0)