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