mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
refactor(packaging): remove unused inventory override
This commit is contained in:
@@ -143,13 +143,8 @@ async function writePackageInstallGuardMarker(packageRoot: string): Promise<void
|
||||
await fs.writeFile(markerPath, "OpenClaw package preinstall has not completed.\n", "utf8");
|
||||
}
|
||||
|
||||
export async function writePackageDistInventoryForPublish(
|
||||
packageRoot: string,
|
||||
inventory?: string[],
|
||||
): Promise<string[]> {
|
||||
await assertNoLegacyPluginDependencyStagingDebris(packageRoot);
|
||||
const entries = inventory ?? (await collectPackageDistInventory(packageRoot));
|
||||
const writtenInventory = await writePackageDistInventoryFile(packageRoot, entries);
|
||||
export async function writePackageDistInventoryForPublish(packageRoot: string): Promise<string[]> {
|
||||
const inventory = await writePackageDistInventory(packageRoot);
|
||||
await writePackageInstallGuardMarker(packageRoot);
|
||||
return writtenInventory;
|
||||
return inventory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user