Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/kind-ducks-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@arethetypeswrong/cli": patch
---

Fix warning message json-format suggestion to use proper syntax
2 changes: 1 addition & 1 deletion packages/cli/src/render/typed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function typed(
const summaryTexts = Object.keys(grouped).map((kind) => {
const info = problemKindInfo[kind as core.ProblemKind];
const description = marked(
`${info.description}${info.details ? ` Use \`--json\` to see ${info.details}.` : ""} ${info.docsUrl}`,
`${info.description}${info.details ? ` Use \`-f json\` to see ${info.details}.` : ""} ${info.docsUrl}`,
);
return `${emoji ? `${info.emoji} ` : ""}${description}`;
});
Expand Down