(report)
| 102 | } |
| 103 | |
| 104 | function suggestedMessage(report) { |
| 105 | if (report.added.length === 1 && !report.changed.length && !report.removed.length) { |
| 106 | const item = report.added[0]; |
| 107 | return `docs: sync lc${item.leetcodeId} ${item.slug} animation index`; |
| 108 | } |
| 109 | if (report.changed.length === 1 && !report.added.length && !report.removed.length) { |
| 110 | const item = report.changed[0]; |
| 111 | return `docs: update lc${item.leetcodeId} ${item.slug} animation index`; |
| 112 | } |
| 113 | return "docs: sync latest LeetCode animation index"; |
| 114 | } |
| 115 | |
| 116 | const report = compare(); |
| 117 | const status = siteStatus(); |
no outgoing calls
no test coverage detected