diff --git a/apps/remix-ide/src/app/files/dgitProvider.js b/apps/remix-ide/src/app/files/dgitProvider.js index dea10d9bd8..78e3787ef4 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.js +++ b/apps/remix-ide/src/app/files/dgitProvider.js @@ -132,7 +132,7 @@ class DGitProvider extends Plugin { } async rm(cmd) { - + console.log('rm', cmd) if (isElectron()) { await this.call('isogit', 'rm', cmd) } else { @@ -318,11 +318,13 @@ class DGitProvider extends Plugin { if (isElectron()) { const readBlobResult = await this.call('isogit', 'readblob', cmd) console.log('readblob', readBlobResult) + return readBlobResult } const readBlobResult = await git.readBlob({ ...await this.getGitConfig(), ...cmd }) + return readBlobResult } diff --git a/apps/remixdesktop/src/plugins/isoGitPlugin.ts b/apps/remixdesktop/src/plugins/isoGitPlugin.ts index 1707093cfe..05526efbfd 100644 --- a/apps/remixdesktop/src/plugins/isoGitPlugin.ts +++ b/apps/remixdesktop/src/plugins/isoGitPlugin.ts @@ -83,7 +83,6 @@ class IsoGitPluginClient extends ElectronBasePluginClient { if(this.gitIsInstalled){ const status = await gitProxy.status(this.workingDir) - console.log('STATUS', status) return status } @@ -110,7 +109,7 @@ class IsoGitPluginClient extends ElectronBasePluginClient { ...await this.getGitConfig(), ...cmd }) - console.log('LOG', log) + return log } @@ -125,7 +124,7 @@ class IsoGitPluginClient extends ElectronBasePluginClient { } async rm(cmd: any) { - console.log('rm') + console.log('rm', cmd) const rm = await git.remove({ ...await this.getGitConfig(), ...cmd @@ -157,7 +156,7 @@ class IsoGitPluginClient extends ElectronBasePluginClient { ...await this.getGitConfig(), ...cmd }) - console.log('BRANCH', branch) + return branch } @@ -167,7 +166,6 @@ class IsoGitPluginClient extends ElectronBasePluginClient { ...await this.getGitConfig(), ...cmd }) - console.log('LSFILES', lsfiles) return lsfiles } @@ -177,7 +175,7 @@ class IsoGitPluginClient extends ElectronBasePluginClient { ...await this.getGitConfig(), ...cmd }) - console.log('RESOLVEREF', resolveref) + return resolveref } @@ -188,7 +186,7 @@ class IsoGitPluginClient extends ElectronBasePluginClient { ...await this.getGitConfig(), ...cmd }) - console.log('READBLOB', readblob) + return readblob } @@ -283,7 +281,6 @@ class IsoGitPluginClient extends ElectronBasePluginClient { remotes = async () => { let remotes = [] remotes = await git.listRemotes({ ...await this.getGitConfig() }) - console.log('remotes', remotes) return remotes } @@ -315,7 +312,7 @@ class IsoGitPluginClient extends ElectronBasePluginClient { branches = [...branches, ...remotebranches] } - console.log('branches', branches) + return branches } catch (e) { return []