From 8c1a134a56425c2d4b4be9aa38d42753edea0b19 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 5 Jun 2024 12:16:58 +0200 Subject: [PATCH] lint --- apps/remix-ide/src/app/files/dgitProvider.ts | 1 - libs/remix-ui/git/src/components/github/devicecode.tsx | 1 - libs/remix-ui/git/src/lib/gitactions.ts | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/remix-ide/src/app/files/dgitProvider.ts b/apps/remix-ide/src/app/files/dgitProvider.ts index 17a971c031..2e16ea6c04 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.ts +++ b/apps/remix-ide/src/app/files/dgitProvider.ts @@ -400,7 +400,6 @@ class DGitProvider extends Plugin { const defaultConfig = await this.addIsomorphicGitConfigFS() const cmd = config ? defaultConfig ? { ...defaultConfig, ...config } : config : defaultConfig const name = await git.currentBranch(cmd) - console.log('current branch', name) let remote: remote = undefined try { const remoteName = await git.getConfig({ diff --git a/libs/remix-ui/git/src/components/github/devicecode.tsx b/libs/remix-ui/git/src/components/github/devicecode.tsx index 9e53099699..e1b6891bf4 100644 --- a/libs/remix-ui/git/src/components/github/devicecode.tsx +++ b/libs/remix-ui/git/src/components/github/devicecode.tsx @@ -73,7 +73,6 @@ export const GetDeviceCode = () => { await actions.loadGitHubUserFromToken() } - return ( <> {(context.gitHubUser && context.gitHubUser.login) ? null : diff --git a/libs/remix-ui/git/src/lib/gitactions.ts b/libs/remix-ui/git/src/lib/gitactions.ts index 0dd9891e3d..fae76f0584 100644 --- a/libs/remix-ui/git/src/lib/gitactions.ts +++ b/libs/remix-ui/git/src/lib/gitactions.ts @@ -563,7 +563,7 @@ export const loadGitHubUserFromToken = async () => { type: 'success', message: `Github user loaded...` }) - }else{ + } else { sendToGitLog({ type: 'error', message: `Please check your GitHub token in the GitHub settings.`