terminal log for success

pull/5370/head
aniket-engg 3 years ago committed by Aniket
parent 1e3a495dbc
commit 950240b55e
  1. 3
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -260,8 +260,8 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
warningErrors.push(options) warningErrors.push(options)
warningMessage.push({ msg, options, hasWarning: true, warningModuleName: 'Slither Analysis' }) warningMessage.push({ msg, options, hasWarning: true, warningModuleName: 'Slither Analysis' })
}) })
showWarnings(warningMessage, 'warningModuleName')
setShowSlitherResult('block') setShowSlitherResult('block')
showWarnings(warningMessage, 'warningModuleName')
props.event.trigger('staticAnaysisWarning', [warningCount]) props.event.trigger('staticAnaysisWarning', [warningCount])
} }
}).catch((error) => { }).catch((error) => {
@ -271,6 +271,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
}) })
}) })
} else { } else {
setShowSlitherResult('none')
showWarnings(warningMessage, 'warningModuleName') showWarnings(warningMessage, 'warningModuleName')
props.event.trigger('staticAnaysisWarning', [warningCount]) props.event.trigger('staticAnaysisWarning', [warningCount])
} }

Loading…
Cancel
Save