From 1020a4e73e8b40f0ee9a2ed5743f2158f89a1a04 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 6 Jul 2021 14:17:32 +0530 Subject: [PATCH] minor changes --- libs/remixd/src/services/slitherClient.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/remixd/src/services/slitherClient.ts b/libs/remixd/src/services/slitherClient.ts index 54f4176f52..e2d9a281bb 100644 --- a/libs/remixd/src/services/slitherClient.ts +++ b/libs/remixd/src/services/slitherClient.ts @@ -132,6 +132,7 @@ export class SlitherClient extends PluginClient { // 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 const child = spawn(cmd, { cwd: this.currentSharedFolder, shell: true, stdio: 'ignore' }) + const response = {} child.on('close', () => { const outputFileAbsPath: string = `${this.currentSharedFolder}/${outputFile}`