mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 10:34:44 +00:00
fix(scripts): reject short flag startup memory paths
This commit is contained in:
@@ -107,8 +107,10 @@ describe("check-cli-startup-memory", () => {
|
||||
for (const args of [
|
||||
["--json"],
|
||||
["--json", "--summary"],
|
||||
["--json", "-h"],
|
||||
["--summary"],
|
||||
["--summary", "--json"],
|
||||
["--summary", "-h"],
|
||||
]) {
|
||||
expect(() => testing.parseArgs(args)).toThrow(/--(?:json|summary) requires a path/u);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user