Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Feb 22, 2025
1 parent 4328d38 commit 726bd78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/core/services/i2p/i2p-daemon.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ export class I2pDaemonService {
if (this.starting) throw new Error("i2pd is starting");
if (!this.running) throw new Error("Already stopped i2pd");

await new Promise<void>((resolve, reject) => {
await new Promise<number>((resolve, reject) => {
window.electronAPI.onI2pdClose((code: number) => {
resolve();
resolve(code);
});

this.forceShutdown().then((result) => {
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/logs/logs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ export class LogsComponent extends BasePageComponent implements AfterViewInit, A
return index; // usa l'indice per tracciare gli elementi
}

public async clearMonerodLogs(): Promise<void> {
public clearMonerodLogs(): void {
this.logsService.clear('monerod');
}

public async clearI2pdLogs(): Promise<void> {
public clearI2pdLogs(): void{
this.logsService.clear('i2pd');
}

Expand Down

0 comments on commit 726bd78

Please sign in to comment.