linting fix

pull/1398/head
aniket-engg 3 years ago committed by Aniket
parent ea8e6e80f9
commit 7432082164
  1. 2
      libs/remixd/src/services/slitherClient.ts

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

Loading…
Cancel
Save