style: Update formatting in various files

This commit is contained in:
ChristoferMendes
2024-05-12 21:40:30 -03:00
parent e6b62399f7
commit f2af65d4cd
12 changed files with 76 additions and 62 deletions

View File

@@ -1,10 +1,13 @@
import { webTorrentData } from "@main/services/web-torrent-data"
import { registerEvent } from "../../register-event"
import { webTorrentData } from "@main/services/web-torrent-data";
import { registerEvent } from "../../register-event";
const getMagnetHealth = async (_event: Electron.IpcMainInvokeEvent, magnet: string) => {
return webTorrentData.getSeedersAndPeers(magnet)
}
const getMagnetHealth = async (
_event: Electron.IpcMainInvokeEvent,
magnet: string
) => {
return webTorrentData.getSeedersAndPeers(magnet);
};
registerEvent(getMagnetHealth, {
name: 'getMagnetHealth'
})
name: "getMagnetHealth",
});

View File

@@ -7,7 +7,7 @@ import "./catalogue/get-games";
import "./catalogue/get-how-long-to-beat";
import "./catalogue/get-random-game";
import "./catalogue/search-games";
import "./catalogue/repacks/get-magnet-health"
import "./catalogue/repacks/get-magnet-health";
import "./hardware/get-disk-free-space";
import "./library/add-game-to-library";
import "./library/close-game";