style: apply hook formatting

This commit is contained in:
Chubby Granny Chaser
2026-04-27 19:57:59 +01:00
parent 1a5525312b
commit 4503c46769
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ on:
push:
branches:
- main
- 'release/**'
- "release/**"
jobs:
text-integrity:
+5 -1
View File
@@ -224,7 +224,11 @@ export class NativeAddon {
for (const pending of drained) {
if (pending.type === "list") pending.resolve([]);
else
pending.resolve({ processMap: {}, winePrefixMap: {}, linuxProcesses: [] });
pending.resolve({
processMap: {},
winePrefixMap: {},
linuxProcesses: [],
});
}
}
+5 -2
View File
@@ -143,8 +143,11 @@ const findGamePathByProcess = async (
};
const getSystemProcessMap = async () => {
const { processMap: rawMap, winePrefixMap: rawWineMap, linuxProcesses } =
await NativeAddon.getSystemProcessMap();
const {
processMap: rawMap,
winePrefixMap: rawWineMap,
linuxProcesses,
} = await NativeAddon.getSystemProcessMap();
const processMap = new Map<string, Set<string>>(
Object.entries(rawMap).map(([k, v]) => [k, new Set(v)])
@@ -93,7 +93,6 @@ export function SettingsDownloadSources() {
return () => clearInterval(intervalId);
}, [downloadSources]);
const handleRemoveSource = async (downloadSource: DownloadSource) => {
setIsRemovingDownloadSource(true);