mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Fix module patching (microsoft/vscode-copilot-release#1294)
This commit is contained in:
@@ -79,7 +79,7 @@ export function connectProxyResolver(
|
|||||||
function createPatchedModules(params: ProxyAgentParams, resolveProxy: ReturnType<typeof createProxyResolver>) {
|
function createPatchedModules(params: ProxyAgentParams, resolveProxy: ReturnType<typeof createProxyResolver>) {
|
||||||
|
|
||||||
function mergeModules(module: any, patch: any) {
|
function mergeModules(module: any, patch: any) {
|
||||||
return Object.assign({}, module, patch);
|
return Object.assign(module.default || module, patch);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user