Fix lint error

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka committed 2021-11-03 11:50:29 +02:00
1 parent 477c6c933e
commit 8380b6de69
1 file changed
+2 -2
+2 -2
View File
@@ -66,7 +66,7 @@ export function getWinRootCA(): Promise<string[]> {
}, },
onend: () => { onend: () => {
resolve(CAs.filter(isCertActive)); resolve(CAs.filter(isCertActive));
} },
}); });
}); });
} }
@@ -98,7 +98,7 @@ export async function injectSystemCAs() {
console.warn(`[MAC-CA]: Error injecting root CAs from MacOSX. ${error?.message}`); console.warn(`[MAC-CA]: Error injecting root CAs from MacOSX. ${error?.message}`);
} }
} }
if (isWindows) { if (isWindows) {
try { try {
const winRootCAs = await getWinRootCA(); const winRootCAs = await getWinRootCA();