linting fix

pull/1398/head
Aniket-Engg 3 years ago committed by Aniket
parent 9aaa913570
commit b0873d188e
  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.` })
const report = result.data
report.map((item) => {
let location: any = {}
let locationString = 'not available'
let column = 0
let row = 0
let fileName = currentFile
// There are issues with location for imported contract
const location: any = {}
const locationString = 'not available'
const column = 0
const row = 0
const fileName = currentFile
// There are issues with location for imported contract
// which stops complete analysis including remix analyzer's
// if (item.sourceMap && item.sourceMap.length) {
// location = {

Loading…
Cancel
Save