mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2024-11-26 22:19:03 +00:00
simplify ternary
This commit is contained in:
parent
f67f5f0d41
commit
08e3201b55
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -126,7 +126,7 @@ Git diff to review:
|
||||
${chunk.content}
|
||||
${chunk.changes
|
||||
// @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")}
|
||||
\`\`\`
|
||||
`;
|
||||
|
2
dist/index.js.map
vendored
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.changes
|
||||
// @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")}
|
||||
\`\`\`
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user