We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9a768 commit 1076161Copy full SHA for 1076161
1 file changed
packages/backend/server/utils/markdown.ts
@@ -113,9 +113,11 @@ _commit: <a href="${checkRunUrl}"><code>${abbreviateCommitHash(workflowData.sha)
113
}
114
115
function generateTemplatesStr(templates: Record<string, string>) {
116
- const entries = Object.entries(templates).filter(([k]) => k !== "default");
+ const entries = Object.entries(templates).filter(
117
+ ([k]) => k !== "default" && !k.startsWith("example-"),
118
+ );
119
let str =
- Object.keys(templates).length === 0
120
+ entries.length === 0 && templates.default
121
? `[Open in StackBlitz](${templates.default})`
122
: "";
123
0 commit comments