mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 14:07:27 +00:00
perf(test): tighten temp-path dynamic prefilter
This commit is contained in:
@@ -46,7 +46,7 @@ function isDynamicTemplateSegment(node: ts.Expression): boolean {
|
||||
}
|
||||
|
||||
function mightContainDynamicTmpdirJoin(source: string): boolean {
|
||||
return source.includes("path.join") && source.includes("os.tmpdir") && source.includes("`");
|
||||
return source.includes("path.join") && source.includes("os.tmpdir") && source.includes("${");
|
||||
}
|
||||
|
||||
function hasDynamicTmpdirJoin(source: string, filePath = "fixture.ts"): boolean {
|
||||
|
||||
Reference in New Issue
Block a user