mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:20:43 +00:00
fix(release): ignore leaf test filenames
This commit is contained in:
@@ -134,6 +134,7 @@ function pathContainsPackedTestCargo(packedPath: string): boolean {
|
||||
const segments = normalizedPath.split("/").filter(Boolean);
|
||||
return segments.some(
|
||||
(segment, index) =>
|
||||
index < segments.length - 1 &&
|
||||
PACKED_TEST_CARGO_DIRECTORY_SEGMENTS.has(segment) &&
|
||||
!isNodeModulesPackageRoot(segments, index),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user