mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 09:38:39 +00:00
perf(test): speed temp-path AST scan
This commit is contained in:
@@ -57,7 +57,7 @@ function hasDynamicTmpdirJoin(source: string, filePath = "fixture.ts"): boolean
|
|||||||
filePath,
|
filePath,
|
||||||
source,
|
source,
|
||||||
ts.ScriptTarget.Latest,
|
ts.ScriptTarget.Latest,
|
||||||
true,
|
false,
|
||||||
filePath.endsWith(".tsx") ? ts.ScriptKind.TSX : ts.ScriptKind.TS,
|
filePath.endsWith(".tsx") ? ts.ScriptKind.TSX : ts.ScriptKind.TS,
|
||||||
);
|
);
|
||||||
let found = false;
|
let found = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user