mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Refactor: full span tracer
This commit is contained in:
@@ -26,7 +26,7 @@ const removeNoResolved = (line: string) => line.replace(',no-resolve', '');
|
||||
/**
|
||||
* This only generates a simplified version, for under-used users only.
|
||||
*/
|
||||
export const buildSSPanelUIMAppProfile = task(import.meta.path, async () => {
|
||||
export const buildSSPanelUIMAppProfile = task(import.meta.path, async (span) => {
|
||||
const [
|
||||
domesticDomains,
|
||||
appleCdnDomains,
|
||||
@@ -108,6 +108,7 @@ export const buildSSPanelUIMAppProfile = task(import.meta.path, async () => {
|
||||
);
|
||||
|
||||
await compareAndWriteFile(
|
||||
span,
|
||||
output,
|
||||
path.resolve(import.meta.dir, '../List/internal/appprofile.php')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user