diff --git a/src/main/services/download/python-instance.ts b/src/main/services/download/python-instance.ts index ad08e773..821b5805 100644 --- a/src/main/services/download/python-instance.ts +++ b/src/main/services/download/python-instance.ts @@ -130,7 +130,7 @@ export class PythonInstance { action: "pause", game_id: this.downloadingGameId, } as PauseDownloadPayload) - .catch(() => { }); + .catch(() => {}); this.downloadingGameId = -1; } @@ -162,7 +162,7 @@ export class PythonInstance { action: "cancel", game_id: gameId, } as CancelDownloadPayload) - .catch(() => { }); + .catch(() => {}); this.downloadingGameId = -1; } @@ -187,7 +187,7 @@ export class PythonInstance { magnet: game.uri, save_path: game.downloadPath, } as StartDownloadPayload) - .catch(() => { }); + .catch(() => {}); } private static async handleRpcError(_error: unknown) { diff --git a/src/main/services/download/types.ts b/src/main/services/download/types.ts index ec8209a1..b4aac2e1 100644 --- a/src/main/services/download/types.ts +++ b/src/main/services/download/types.ts @@ -40,4 +40,3 @@ export interface ProcessPayload { export interface SeedPayload { should_seed: boolean; } -