simplify ternary

This commit is contained in:
Ville Saukkonen 2023-03-28 11:49:16 +03:00
parent f67f5f0d41
commit 08e3201b55
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored

@ -126,7 +126,7 @@ Git diff to review:
${chunk.content} ${chunk.content}
${chunk.changes ${chunk.changes
// @ts-expect-error - ln and ln2 exists where needed // @ts-expect-error - ln and ln2 exists where needed
.map((c) => `${c.ln ? `${c.ln} ` : `${c.ln2} `}${c.content}`) .map((c) => `${c.ln ? c.ln : c.ln2} ${c.content}`)
.join("\n")} .join("\n")}
\`\`\` \`\`\`
`; `;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

@ -103,7 +103,7 @@ Git diff to review:
${chunk.content} ${chunk.content}
${chunk.changes ${chunk.changes
// @ts-expect-error - ln and ln2 exists where needed // @ts-expect-error - ln and ln2 exists where needed
.map((c) => `${c.ln ? `${c.ln} ` : `${c.ln2} `}${c.content}`) .map((c) => `${c.ln ? c.ln : c.ln2} ${c.content}`)
.join("\n")} .join("\n")}
\`\`\` \`\`\`
`; `;