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
9858d121
Commit
9858d121
authored
Oct 06, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: removed unused variable
parent
6f06db03
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+2
-3
No files found.
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
9858d121
...
@@ -164,11 +164,10 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
...
@@ -164,11 +164,10 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
}
}
}
}
try
{
try
{
let
result
:
any
// eslint-disable-line
if
(
script
.
trim
().
startsWith
(
'git'
))
{
if
(
script
.
trim
().
startsWith
(
'git'
))
{
//
result =
await this.call('git', 'execute', script) code might be used in the future
// await this.call('git', 'execute', script) code might be used in the future
}
else
{
}
else
{
result
=
await
call
(
'scriptRunner'
,
'execute'
,
script
)
await
call
(
'scriptRunner'
,
'execute'
,
script
)
}
}
done
()
done
()
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
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