From 332b8d774a616692048432a4973f3ad6a5f7cb88 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Sat, 25 Jan 2025 21:28:03 -0800 Subject: [PATCH] config-schema.json: fixup to `default-command` Before this commit, both VS Code's "Even better TOML" and `taplo` reported an error saying `["status","--no-pager"] is not of type "string"` for ```toml "$schema" = "https://jj-vcs.github.io/jj/latest/config-schema.json" ui.default-command = ["status", "--no-pager"] ``` I believe the schema was either invalid or just ignored `oneOf` because it was trivially satisfied whenever the `type` restriction was satisfied. --- cli/src/config-schema.json | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/src/config-schema.json b/cli/src/config-schema.json index 84f8182dc..ee3fe9437 100644 --- a/cli/src/config-schema.json +++ b/cli/src/config-schema.json @@ -64,7 +64,6 @@ "default": false }, "default-command": { - "type": "string", "description": "Default command to run when no explicit command is given", "default": "log", "oneOf": [