Commit 31acac39 authored by bunsenstraat's avatar bunsenstraat Committed by davidzagi93@gmail.com

rm logs

parent db8ea068
...@@ -82,7 +82,6 @@ class DGitProvider extends Plugin { ...@@ -82,7 +82,6 @@ class DGitProvider extends Plugin {
...await this.getGitConfig(), ...await this.getGitConfig(),
...cmd ...cmd
}) })
console.log('dgitstatus', status)
return status return status
} }
...@@ -236,7 +235,6 @@ class DGitProvider extends Plugin { ...@@ -236,7 +235,6 @@ class DGitProvider extends Plugin {
...await this.parseInput(input), ...await this.parseInput(input),
...await this.getGitConfig() ...await this.getGitConfig()
} }
console.log(cmd)
const result = await git.clone(cmd) const result = await git.clone(cmd)
await this.call('fileManager', 'refresh') await this.call('fileManager', 'refresh')
...@@ -244,7 +242,6 @@ class DGitProvider extends Plugin { ...@@ -244,7 +242,6 @@ class DGitProvider extends Plugin {
} }
async push (input) { async push (input) {
console.log('push')
const cmd = { const cmd = {
force: input.force, force: input.force,
ref: input.ref, ref: input.ref,
...@@ -257,7 +254,6 @@ class DGitProvider extends Plugin { ...@@ -257,7 +254,6 @@ class DGitProvider extends Plugin {
...await this.parseInput(input), ...await this.parseInput(input),
...await this.getGitConfig() ...await this.getGitConfig()
} }
console.log(cmd)
return await git.push(cmd) return await git.push(cmd)
} }
...@@ -273,7 +269,6 @@ class DGitProvider extends Plugin { ...@@ -273,7 +269,6 @@ class DGitProvider extends Plugin {
...await this.parseInput(input), ...await this.parseInput(input),
...await this.getGitConfig() ...await this.getGitConfig()
} }
console.log(cmd)
const result = await git.pull(cmd) const result = await git.pull(cmd)
await this.call('fileManager', 'refresh') await this.call('fileManager', 'refresh')
return result return result
...@@ -291,7 +286,6 @@ class DGitProvider extends Plugin { ...@@ -291,7 +286,6 @@ class DGitProvider extends Plugin {
...await this.parseInput(input), ...await this.parseInput(input),
...await this.getGitConfig() ...await this.getGitConfig()
} }
console.log(cmd)
const result = await git.fetch(cmd) const result = await git.fetch(cmd)
await this.call('fileManager', 'refresh') await this.call('fileManager', 'refresh')
return result return result
...@@ -423,7 +417,6 @@ class DGitProvider extends Plugin { ...@@ -423,7 +417,6 @@ class DGitProvider extends Plugin {
console.log(config, cid, workspace, data) console.log(config, cid, workspace, data)
for await (const file of data) { for await (const file of data) {
if (file.path) result = true if (file.path) result = true
console.log(file.path)
file.path = file.path.replace(cid, '') file.path = file.path.replace(cid, '')
if (!file.content) { if (!file.content) {
continue continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment