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
6ac6b7ee
Commit
6ac6b7ee
authored
Apr 27, 2021
by
lianahus
Committed by
Aniket
May 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linter fixed`
parent
80b7a7e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
test-tab.js
apps/remix-ide/src/app/tabs/test-tab.js
+1
-3
testTab.js
apps/remix-ide/src/app/tabs/testTab/testTab.js
+1
-1
No files found.
apps/remix-ide/src/app/tabs/test-tab.js
View file @
6ac6b7ee
...
...
@@ -626,9 +626,7 @@ module.exports = class TestTab extends ViewPlugin {
style="background-image: var(--primary);"
onkeyup=
${(
e
)
=>
this
.
handleTestDirInput
(
e
)}
onchange=
${(
e
)
=>
{
console
.
log
(
"onchange"
)
if
(
!
this
.
createTestFolder
.
disabled
)
return
// this.handleCreateFolder()
else
{
if
(
this
.
createTestFolder
.
disabled
)
{
this
.
inputPath
.
value
=
this
.
trimTestDirInput
(
this
.
inputPath
.
value
)
if
(
this
.
testTabLogic
.
pathExists
(
this
.
inputPath
.
value
))
{
this
.
inputPath
.
value
=
this
.
trimTestDirInput
(
this
.
inputPath
.
value
)
...
...
apps/remix-ide/src/app/tabs/testTab/testTab.js
View file @
6ac6b7ee
...
...
@@ -21,7 +21,7 @@ class TestTabLogic {
fileProvider
.
exists
(
path
,
(
e
,
res
)
=>
{
if
(
!
res
)
fileProvider
.
createDir
(
path
)
})
}
pathExists
(
path
)
{
pathExists
(
path
)
{
// Checking to ignore the value which contains only whitespaces
if
(
!
path
||
!
(
/
\S
/
.
test
(
path
)))
return
const
fileProvider
=
this
.
fileManager
.
fileProviderOf
(
path
.
split
(
'/'
)[
0
])
...
...
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