pull/4791/head
filip mertens 5 months ago
parent 652b3b3ef7
commit 5964cfd619
  1. 3
      apps/remix-ide/src/app/files/dgitProvider.ts
  2. 1
      apps/remix-ide/src/app/plugins/git.tsx

@ -363,7 +363,7 @@ class DGitProvider extends Plugin {
let remotes: remote[] = []
try {
remotes = (await git.listRemotes({ ...config ? config : await this.addIsomorphicGitConfigFS() })).map((remote) =>
{ return { name: remote.remote, url: remote.url } }
{ return { name: remote.remote, url: remote.url } }
)
} catch (e) {
// do nothing
@ -1026,7 +1026,6 @@ class DGitProvider extends Plugin {
const user = await octokit.request('GET /user')
const emails = await octokit.request('GET /user/emails')
const scopes = user.headers['x-oauth-scopes'];
console.log('scopes', scopes)

@ -4,7 +4,6 @@ import React from 'react' // eslint-disable-line
import { gitState, GitUI } from '@remix-ui/git';
import * as packageJson from '../../../../../package.json'
const profile = {
name: 'dgit',
desciption: 'Git plugin for Remix',

Loading…
Cancel
Save