terminal log for success

pull/1398/head
aniket-engg 4 years ago committed by Aniket
parent a54706a514
commit 730c8e72fe
  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)
warningMessage.push({ msg, options, hasWarning: true, warningModuleName: 'Slither Analysis' })
})
showWarnings(warningMessage, 'warningModuleName')
setShowSlitherResult('block')
showWarnings(warningMessage, 'warningModuleName')
props.event.trigger('staticAnaysisWarning', [warningCount])
}
}).catch((error) => {
@ -271,6 +271,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
})
})
} else {
setShowSlitherResult('none')
showWarnings(warningMessage, 'warningModuleName')
props.event.trigger('staticAnaysisWarning', [warningCount])
}

Loading…
Cancel
Save