mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
fix(cli): preserve unsafe flag deprecation warnings
This commit is contained in:
@@ -1252,12 +1252,12 @@ describe("plugins cli update", () => {
|
||||
expect(updateParams.pluginIds).toEqual(["openclaw-codex-app-server"]);
|
||||
expect(updateParams.dangerouslyForceUnsafeInstall).toBe(true);
|
||||
expect(
|
||||
pluginsCliRuntimeLogs.some((message) =>
|
||||
pluginsCliRuntimeLogs.filter((message) =>
|
||||
message.includes(
|
||||
"--dangerously-force-unsafe-install is deprecated and no longer affects plugin updates",
|
||||
),
|
||||
),
|
||||
).toBe(true);
|
||||
).toHaveLength(1);
|
||||
});
|
||||
|
||||
it.each([
|
||||
|
||||
Reference in New Issue
Block a user