提交 38cdba85 编写于 作者: C Christof Marti

Revert "Work around minifier bug (#79044)"

This reverts commit 6371cad5.
上级 e677c038
...@@ -469,9 +469,8 @@ async function readCaCertificates() { ...@@ -469,9 +469,8 @@ async function readCaCertificates() {
} }
async function readWindowsCaCertificates() { async function readWindowsCaCertificates() {
// Not using await to work around minifier bug (https://github.com/microsoft/vscode/issues/79044). const winCA = await import('vscode-windows-ca-certs');
return import('vscode-windows-ca-certs')
.then(winCA => {
let ders: any[] = []; let ders: any[] = [];
const store = winCA(); const store = winCA();
try { try {
...@@ -488,7 +487,6 @@ async function readWindowsCaCertificates() { ...@@ -488,7 +487,6 @@ async function readWindowsCaCertificates() {
certs: Array.from(certs), certs: Array.from(certs),
append: true append: true
}; };
});
} }
async function readMacCaCertificates() { async function readMacCaCertificates() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册