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
560a2aa4
Commit
560a2aa4
authored
Jun 21, 2021
by
aniket-engg
Committed by
Aniket
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting fix
parent
5f74c949
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
remix-ui-static-analyser.tsx
...x-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
+2
-2
No files found.
libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
View file @
560a2aa4
...
@@ -110,7 +110,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
...
@@ -110,7 +110,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
if
(
lastCompilationResult
&&
categoryIndex
.
length
>
0
)
{
if
(
lastCompilationResult
&&
categoryIndex
.
length
>
0
)
{
let
warningCount
=
0
let
warningCount
=
0
const
warningMessage
=
[]
const
warningMessage
=
[]
if
(
slitherEnabled
)
{
if
(
slitherEnabled
)
{
props
.
analysisModule
.
call
(
'solidity-logic'
,
'getCompilerState'
).
then
((
compilerState
)
=>
{
props
.
analysisModule
.
call
(
'solidity-logic'
,
'getCompilerState'
).
then
((
compilerState
)
=>
{
const
{
currentVersion
,
optimize
,
evmVersion
}
=
compilerState
const
{
currentVersion
,
optimize
,
evmVersion
}
=
compilerState
props
.
analysisModule
.
call
(
'slither'
,
'analyse'
,
state
.
file
,
{
currentVersion
,
optimize
,
evmVersion
}).
then
(
console
.
log
)
props
.
analysisModule
.
call
(
'slither'
,
'analyse'
,
state
.
file
,
{
currentVersion
,
optimize
,
evmVersion
}).
then
(
console
.
log
)
...
@@ -333,7 +333,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
...
@@ -333,7 +333,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
onChange=
{
()
=>
{}
}
onChange=
{
()
=>
{}
}
/>
/>
<
Button
buttonText=
"Run"
onClick=
{
()
=>
run
(
state
.
data
,
state
.
source
,
state
.
file
)
}
disabled=
{
state
.
data
===
null
||
categoryIndex
.
length
===
0
}
/>
<
Button
buttonText=
"Run"
onClick=
{
()
=>
run
(
state
.
data
,
state
.
source
,
state
.
file
)
}
disabled=
{
state
.
data
===
null
||
categoryIndex
.
length
===
0
}
/>
</
div
>
</
div
>
<
div
className=
"d-flex"
id=
"enableSlitherAnalysis"
>
<
div
className=
"d-flex"
id=
"enableSlitherAnalysis"
>
<
RemixUiCheckbox
<
RemixUiCheckbox
id=
"enableSlither"
id=
"enableSlither"
...
...
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