|
|
|
@ -26,7 +26,7 @@ export class SlitherClient extends PluginClient { |
|
|
|
|
const errMsg = '[Slither Analysis]: Cannot analyse in read-only mode' |
|
|
|
|
return reject(new Error(errMsg)) |
|
|
|
|
} |
|
|
|
|
const outputFile = 'remix-slitherReport_' + Date.now() + '.json'
|
|
|
|
|
const outputFile = 'remix-slitherReport_' + Date.now() + '.json' |
|
|
|
|
const cmd = `slither ${filePath} --json ${outputFile}` |
|
|
|
|
const options = { cwd: this.currentSharedFolder, shell: true } |
|
|
|
|
const child = spawn(cmd, options) |
|
|
|
|