Skip to content

Commit

Permalink
Removed unused code paths and console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
markwpearce committed Nov 5, 2023
1 parent 0341f8d commit 7d9fe64
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 222 deletions.
3 changes: 0 additions & 3 deletions src/Program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -817,12 +817,9 @@ export class Program {
file: file
};
this.plugins.emit('beforeFileValidate', validateFileEvent);
// const t0 = performance.now();
//emit an event to allow plugins to contribute to the file validation process
this.plugins.emit('onFileValidate', validateFileEvent);
file.isValidated = true;
// const t1 = performance.now();
//console.log('validateFileEvent', file.pkgPath, t1 - t0);
this.plugins.emit('afterFileValidate', validateFileEvent);
}
}
Expand Down
Loading

0 comments on commit 7d9fe64

Please sign in to comment.