@@ -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