pull/4791/head
filip mertens 6 months ago
parent b277fab6e4
commit 8c1a134a56
  1. 1
      apps/remix-ide/src/app/files/dgitProvider.ts
  2. 1
      libs/remix-ui/git/src/components/github/devicecode.tsx

@ -400,7 +400,6 @@ class DGitProvider extends Plugin {
const defaultConfig = await this.addIsomorphicGitConfigFS() const defaultConfig = await this.addIsomorphicGitConfigFS()
const cmd = config ? defaultConfig ? { ...defaultConfig, ...config } : config : defaultConfig const cmd = config ? defaultConfig ? { ...defaultConfig, ...config } : config : defaultConfig
const name = await git.currentBranch(cmd) const name = await git.currentBranch(cmd)
console.log('current branch', name)
let remote: remote = undefined let remote: remote = undefined
try { try {
const remoteName = await git.getConfig({ const remoteName = await git.getConfig({

@ -73,7 +73,6 @@ export const GetDeviceCode = () => {
await actions.loadGitHubUserFromToken() await actions.loadGitHubUserFromToken()
} }
return ( return (
<> <>
{(context.gitHubUser && context.gitHubUser.login) ? null : {(context.gitHubUser && context.gitHubUser.login) ? null :

Loading…
Cancel
Save