mirror of
https://github.com/SukkaW/Surge.git
synced 2026-09-12 18:44:36 +08:00
Chore: add external download stat report
This commit is contained in:
@@ -27,6 +27,7 @@ import { buildDeprecateFiles } from './build-deprecate-files';
|
||||
import path from 'node:path';
|
||||
import { ROOT_DIR } from './constants/dir';
|
||||
import { isCI } from 'ci-info';
|
||||
import { printExternalDownloadStats } from './lib/download-stats';
|
||||
|
||||
process.on('uncaughtException', (error) => {
|
||||
console.error('Uncaught exception:', error);
|
||||
@@ -123,6 +124,7 @@ const buildFinishedLock = path.join(ROOT_DIR, '.BUILD_FINISHED');
|
||||
printTraceResult(t);
|
||||
});
|
||||
printStats(traces);
|
||||
printExternalDownloadStats();
|
||||
|
||||
await Promise.all([
|
||||
microsoftCdnWorker.end(),
|
||||
|
||||
Reference in New Issue
Block a user