mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:10:49 +00:00
chore: prepare 2026.4.19-beta.1 release
This commit is contained in:
@@ -553,6 +553,9 @@ export function collectForbiddenPackedContentErrors(
|
||||
const textPathPattern = /\.(?:[cm]?js|d\.ts|json|md|mjs|cjs)$/u;
|
||||
const errors: string[] = [];
|
||||
for (const packedPath of paths) {
|
||||
if (packedPath === PACKAGE_DIST_INVENTORY_RELATIVE_PATH) {
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
!FORBIDDEN_PRIVATE_QA_CONTENT_SCAN_PREFIXES.some((prefix) => packedPath.startsWith(prefix))
|
||||
) {
|
||||
|
||||
@@ -294,6 +294,9 @@ export function collectForbiddenPackContentPaths(
|
||||
const textPathPattern = /\.(?:[cm]?js|d\.ts|json|md|mjs|cjs)$/u;
|
||||
return [...paths]
|
||||
.filter((packedPath) => {
|
||||
if (packedPath === PACKAGE_DIST_INVENTORY_RELATIVE_PATH) {
|
||||
return false;
|
||||
}
|
||||
if (!forbiddenPrivateQaContentScanPrefixes.some((prefix) => packedPath.startsWith(prefix))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user