Commit a53d4667 authored by aniket-engg's avatar aniket-engg Committed by Aniket

repeated analysis improvement

parent 730c8e72
......@@ -260,9 +260,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')
}
}
}).catch((error) => {
console.log('Error found:', error) // This should be removed once testing done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment