1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix lint error (#4238)

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka 2021-11-03 12:31:59 +02:00 committed by GitHub
parent c6dce043a7
commit f820f3df53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();