mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Re-enable Reverse CHN CIDR build
This commit is contained in:
@@ -114,7 +114,7 @@ export const task = <T>(importMetaPath: string, fn: (span: Span) => T, customnam
|
||||
const taskName = customname ?? path.basename(importMetaPath, path.extname(importMetaPath));
|
||||
return async (span?: Span) => {
|
||||
if (span) {
|
||||
return span.traceChild(taskName).traceAsyncFn(fn);
|
||||
return span.traceChildAsync(taskName, fn);
|
||||
}
|
||||
return fn(createSpan(taskName));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user