mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove win-ca/pem before publish & catch inject error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
d0d6233869
commit
afc06ab76d
@ -51,6 +51,11 @@ jobs:
|
|||||||
- script: make node_modules
|
- script: make node_modules
|
||||||
displayName: Install dependencies
|
displayName: Install dependencies
|
||||||
|
|
||||||
|
- base: |
|
||||||
|
rm -rf node_modules/win-ca/pem
|
||||||
|
displayName: Remove win-ca/pem
|
||||||
|
# https://github.com/ukoloff/win-ca#clear-pem-folder-on-publish
|
||||||
|
|
||||||
- script: make build-npm
|
- script: make build-npm
|
||||||
displayName: Generate npm package
|
displayName: Generate npm package
|
||||||
|
|
||||||
|
|||||||
@ -33,5 +33,9 @@ if (isMac) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isWindows) {
|
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}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user