repeated analysis improvement

pull/1398/head
aniket-engg 3 years ago committed by Aniket
parent 274aa0abee
commit a0eb2e3257
  1. 6
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -255,9 +255,13 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
warningErrors.push(options)
warningMessage.push({ msg, options, hasWarning: true, warningModuleName: 'Slither Analysis' })
})
setShowSlitherResult('block')
showWarnings(warningMessage, 'warningModuleName')
props.event.trigger('staticAnaysisWarning', [warningCount])
if (showSlitherResult === 'none') {
setShowSlitherResult('block')
} else if (showSlitherResult === 'block' && slitherResultEnabled) {
showWarningsByModule('Slither Analysis')
}
}
})
})

Loading…
Cancel
Save