Skip to content

Commit

Permalink
removed the vulnerability rreq
Browse files Browse the repository at this point in the history
  • Loading branch information
STetsing committed Jan 22, 2025
1 parent fb8f477 commit 22be9bb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libs/remix-ai-core/src/agents/securityAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ export class SecurityAgent {
this.addFileToReport(newName);
});

this.basePlugin.on('solidity', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
this.basePlugin.on('vyper', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
this.basePlugin.on('hardhat', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
this.basePlugin.on('foundry', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
// disable for now the compilationFinished event
// this.basePlugin.on('solidity', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
// this.basePlugin.on('vyper', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
// this.basePlugin.on('hardhat', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });
// this.basePlugin.on('foundry', 'compilationFinished', async (fileName, source, languageVersion, data) => { this.onCompilationFinished(fileName) });

this.watcher = new WorkspaceWatcher(async () => {
try {
Expand Down

0 comments on commit 22be9bb

Please sign in to comment.