MCPcopy Create free account
hub / github.com/MisterBooo/LeetCodeAnimation / suggestedMessage

Function suggestedMessage

tools/scripts/review-site-changes.js:104–114  ·  view source on GitHub ↗
(report)

Source from the content-addressed store, hash-verified

102}
103
104function 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
116const report = compare();
117const status = siteStatus();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected