Skip to content

Commit 71f9391

Browse files
committed
fix: use proper pluralization for unknown keybind commands message
1 parent fbec33f commit 71f9391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opencode/src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export namespace Config {
154154
if (unknownKeybinds.length > 0) {
155155
warnings.push({
156156
type: "unknown_keybind",
157-
message: `Unknown keybind command(s): ${unknownKeybinds.join(", ")}`,
157+
message: `Unknown keybind ${unknownKeybinds.length === 1 ? "command" : "commands"}: ${unknownKeybinds.join(", ")}`,
158158
keybinds: unknownKeybinds,
159159
})
160160
}

0 commit comments

Comments
 (0)