mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 07:31:36 +00:00
fix(gateway): preserve worker manifest record type
This commit is contained in:
@@ -39,7 +39,7 @@ function pruneWorkerPackageManifest(contents: Buffer): Buffer {
|
||||
// Released package manifests are already portable; keep bytes (and hashes) stable.
|
||||
return contents;
|
||||
}
|
||||
const pruned = { ...parsed, dependencies: portable };
|
||||
const pruned: Record<string, unknown> = { ...parsed, dependencies: portable };
|
||||
for (const key of prunedFields) {
|
||||
delete pruned[key];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user