mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
add a statsStream that aggregates the number of files and bytes so that we can handle them
This commit is contained in:
@@ -11,6 +11,7 @@ import * as path from 'path';
|
||||
import { Stream } from 'stream';
|
||||
import * as File from 'vinyl';
|
||||
import * as vsce from 'vsce';
|
||||
import { createStatsStream } from './stats';
|
||||
import * as util2 from './util';
|
||||
import assign = require('object-assign');
|
||||
import remote = require('gulp-remote-src');
|
||||
@@ -131,7 +132,7 @@ export function fromLocal(extensionPath: string, sourceMappingURLBase?: string):
|
||||
|
||||
}).catch(err => result.emit('error', err));
|
||||
|
||||
return result;
|
||||
return createStatsStream(path.basename(extensionPath), result, true);
|
||||
}
|
||||
|
||||
function error(err: any): Stream {
|
||||
|
||||
Reference in New Issue
Block a user