Remove win-ca/pem before publish & catch inject error (#3362)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-07-13 11:40:52 -04:00
1 parent ca1ad425ab
commit 9e363b8d5f
3 files changed
+26 -20

No files matched your search

+5 -1
View File
@@ -33,5 +33,9 @@ if (isMac) {
}
if (isWindows) {
winca.inject("+"); // see: https://github.com/ukoloff/win-ca#caveats
try {
winca.inject("+"); // see: https://github.com/ukoloff/win-ca#caveats
} catch (error) {
logger.error(`[CA]: failed to force load: ${error}`);
}
}