Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
31acac39
Commit
31acac39
authored
Sep 09, 2021
by
bunsenstraat
Committed by
davidzagi93@gmail.com
Sep 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm logs
parent
db8ea068
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
dgitProvider.js
apps/remix-ide/src/app/files/dgitProvider.js
+0
-7
No files found.
apps/remix-ide/src/app/files/dgitProvider.js
View file @
31acac39
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment