|
|
@ -260,9 +260,13 @@ 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' }) |
|
|
|
}) |
|
|
|
}) |
|
|
|
setShowSlitherResult('block') |
|
|
|
|
|
|
|
showWarnings(warningMessage, 'warningModuleName') |
|
|
|
showWarnings(warningMessage, 'warningModuleName') |
|
|
|
props.event.trigger('staticAnaysisWarning', [warningCount]) |
|
|
|
props.event.trigger('staticAnaysisWarning', [warningCount]) |
|
|
|
|
|
|
|
if (showSlitherResult === 'none') { |
|
|
|
|
|
|
|
setShowSlitherResult('block') |
|
|
|
|
|
|
|
} else if (showSlitherResult === 'block' && slitherResultEnabled) { |
|
|
|
|
|
|
|
showWarningsByModule('Slither Analysis') |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}).catch((error) => { |
|
|
|
}).catch((error) => { |
|
|
|
console.log('Error found:', error) // This should be removed once testing done
|
|
|
|
console.log('Error found:', error) // This should be removed once testing done
|
|
|
|