Skip to content

Commit

Permalink
remove code smell and async unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldesarrollosoftware committed Oct 4, 2023
1 parent dfacd00 commit 404a43b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class ContentsDownloader {
});
});

downloader.on('progress', async (progress: number) => {
cb(true, ''); // TODO: fix this, we should not use path here
downloader.on('progress', (progress: number) => {
cb(true, '');
this.ipc.send('FILE_DOWNLOADING', {
name: file.name,
extension: file.type,
Expand Down

0 comments on commit 404a43b

Please sign in to comment.