linting fix

pull/5370/head
Aniket-Engg 4 years ago committed by Aniket
parent a4f0ee2c19
commit a984128fb5
  1. 12
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -196,12 +196,12 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
props.analysisModule.call('terminal', 'log', { type: 'info', value: `[Slither Analysis]: Analysis Completed!! ${result.count} warnings found.` }) props.analysisModule.call('terminal', 'log', { type: 'info', value: `[Slither Analysis]: Analysis Completed!! ${result.count} warnings found.` })
const report = result.data const report = result.data
report.map((item) => { report.map((item) => {
let location: any = {} const location: any = {}
let locationString = 'not available' const locationString = 'not available'
let column = 0 const column = 0
let row = 0 const row = 0
let fileName = currentFile const fileName = currentFile
// There are issues with location for imported contract // There are issues with location for imported contract
// which stops complete analysis including remix analyzer's // which stops complete analysis including remix analyzer's
// if (item.sourceMap && item.sourceMap.length) { // if (item.sourceMap && item.sourceMap.length) {
// location = { // location = {

Loading…
Cancel
Save