Skip to content

Commit 9c07a63

Browse files
committed
Fix log exporting
Tool: gitpod/catfood.gitpod.cloud
1 parent da05e09 commit 9c07a63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/gitpod/browser/workbench/contrib/exportLogs.contribution.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { CancellationTokenSource } from '../../../../base/common/cancellation.js
1616
import type * as zipModule from '@zip.js/zip.js';
1717
import { Schemas } from '../../../../base/common/network.js';
1818
import { triggerDownload } from '../../../../base/browser/dom.js';
19+
import { importAMDNodeModule } from '../../../../amdX.js';
1920

2021
const getZipModule = (function () {
2122
let zip: typeof zipModule;
@@ -25,7 +26,7 @@ const getZipModule = (function () {
2526
// without the dot because loader.js will do a check for `.js` extension
2627
// and it won't resolve the module path correctly
2728
// @ts-ignore
28-
zip = await import('@zip.js/zipjs');
29+
zip = await importAMDNodeModule<typeof import('@zip.js/zip.js')>('@zip.js/zip.js', 'dist/zip-no-worker-deflate.min.js');
2930
zip.configure({
3031
useWebWorkers: false
3132
});

0 commit comments

Comments
 (0)