Remove win-ca/pem before publish & catch inject error

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-07-12 15:58:59 -04:00
1 parent d0d6233869
commit afc06ab76d
2 files changed
+29 -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}`);
}
}