Skip to content

Commit d0746d0

Browse files
STetsingAniket-Engg
authored andcommitted
removed the vulnerability rreq
1 parent fb8f477 commit d0746d0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

libs/remix-ai-core/src/agents/securityAgent.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ export class SecurityAgent {
6262
this.addFileToReport(newName);
6363
});
6464

65-
this.basePlugin.on('solidity', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
66-
this.basePlugin.on('vyper', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
67-
this.basePlugin.on('hardhat', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
68-
this.basePlugin.on('foundry', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
65+
// disable for now the compilationFinished event
66+
// this.basePlugin.on('solidity', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
67+
// this.basePlugin.on('vyper', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
68+
// this.basePlugin.on('hardhat', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
69+
// this.basePlugin.on('foundry', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
6970

7071
this.watcher = new WorkspaceWatcher(async () => {
7172
try {

0 commit comments

Comments
 (0)