Skip to content

Commit 96542eb

Browse files
committed
update template metadata.json and lint fix
1 parent d846ab0 commit 96542eb

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

packages/compatibility/src/utils/markdown.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ class MarkdownFile {
9292

9393
addFrameworkResultToTable(result: TestResultDetails) {
9494
const name = result.fullName || result.name;
95-
this.content.push(`<tr><th colspan="3"><big><a href="${result.documentation}">${name}</a></big></th></tr>`)
95+
this.content.push(
96+
`<tr><th colspan="3"><big><a href="${result.documentation}">${name}</a></big></th></tr>`,
97+
);
9698

9799
const columns = [
98100
this.renderSubgraphDetailsCell(result),
@@ -124,7 +126,7 @@ class MarkdownFile {
124126
let content = `${result.description}</br></br>`;
125127

126128
if (result.repository?.link) {
127-
const starCount = Number(result.stargazerCount)
129+
const starCount = Number(result.stargazerCount);
128130
let stars = null;
129131
if (starCount > 1000) {
130132
stars = `${(starCount / 1000).toFixed(1)}k`;
@@ -160,12 +162,13 @@ Last Release: ${lastReleaseDate}</br></br>`;
160162
let cell = '<table>';
161163
TESTS.forEach((test) => {
162164
if (test.fedVersion === fedVersion) {
163-
cell += `<tr><th><code>${test.column}</code></th><td>${testResults[test.assertion]?.success
164-
? '🟢'
165-
: test.required
165+
cell += `<tr><th><code>${test.column}</code></th><td>${
166+
testResults[test.assertion]?.success
167+
? '🟢'
168+
: test.required
166169
? '❌'
167170
: '🔲'
168-
}</td></tr>`;
171+
}</td></tr>`;
169172
}
170173
});
171174
cell += '</table>';

0 commit comments

Comments
 (0)