removed command logging

pull/1510/head
aniket-engg 3 years ago committed by Aniket
parent 85d371ed50
commit 4339b4e56b
  1. 1
      libs/remixd/src/services/slitherClient.ts

@ -137,7 +137,6 @@ export class SlitherClient extends PluginClient {
const outputFile: string = 'remix-slitherReport_' + Math.floor(Date.now() / 1000) + '.json' const outputFile: string = 'remix-slitherReport_' + Math.floor(Date.now() / 1000) + '.json'
const cmd: string = `slither ${filePath} ${solcArgs} ${solcRemaps} --json ${outputFile}` const cmd: string = `slither ${filePath} ${solcArgs} ${solcRemaps} --json ${outputFile}`
console.log('\x1b[32m%s\x1b[0m', '[Slither Analysis]: Running Slither...') console.log('\x1b[32m%s\x1b[0m', '[Slither Analysis]: Running Slither...')
console.log(cmd)
// Added `stdio: 'ignore'` as for contract with NPM imports analysis which is exported in 'stderr' // Added `stdio: 'ignore'` as for contract with NPM imports analysis which is exported in 'stderr'
// get too big and hangs the process. We process analysis from the report file only // get too big and hangs the process. We process analysis from the report file only
const child = spawn(cmd, { cwd: this.currentSharedFolder, shell: true, stdio: 'ignore' }) const child = spawn(cmd, { cwd: this.currentSharedFolder, shell: true, stdio: 'ignore' })

Loading…
Cancel
Save