mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 00:52:05 +00:00
Matrix: fix verification client lifecycle and quiet CLI noise
This commit is contained in:
@@ -43,6 +43,12 @@ describe("warning filter", () => {
|
||||
message: "SQLite is an experimental feature and might change at any time",
|
||||
}),
|
||||
).toBe(true);
|
||||
expect(
|
||||
shouldIgnoreWarning({
|
||||
name: "Warning",
|
||||
message: "`--localstorage-file` was provided without a valid path",
|
||||
}),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("keeps unknown warnings visible", () => {
|
||||
|
||||
@@ -23,6 +23,9 @@ export function shouldIgnoreWarning(warning: ProcessWarning): boolean {
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
if (warning.message?.includes("`--localstorage-file` was provided without a valid path")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user