mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
fix: resotre asar skipped files to node_modules/
This commit is contained in:
@@ -88,6 +88,12 @@ export function createAsar(folderPath: string, unpackGlobs: string[], skipGlobs:
|
||||
throw new Error(`unknown item in stream!`);
|
||||
}
|
||||
if (shouldSkipFile(file)) {
|
||||
this.queue(new VinylFile({
|
||||
base: '.',
|
||||
path: file.path,
|
||||
stat: file.stat,
|
||||
contents: file.contents
|
||||
}));
|
||||
return;
|
||||
}
|
||||
const shouldUnpack = shouldUnpackFile(file);
|
||||
|
||||
Reference in New Issue
Block a user