MCPcopy Create free account
hub / github.com/adobe/react-spectrum / formatRows

Function formatRows

scripts/getCommitsForTesting.mjs:172–178  ·  view source on GitHub ↗
(rows)

Source from the content-addressed store, hash-verified

170 );
171
172 function formatRows(rows) {
173 return rows
174 .map(([component, instructions, url, title]) =>
175 [escapeCSV(component), escapeCSV(instructions), url, escapeCSV(title)].join()
176 )
177 .join('\n');
178 }
179
180 let csv = `V3 \n${formatRows(v3PRs)}\n\nRainbow \n${formatRows(s2PRs)}\n\nRAC \n${formatRows(racPRs)}\n\nAI \n${formatRows(aiPRs)}\n\nOff PR \n${formatRows(offPRs)}\n\nOther \n${formatRows(otherPRs)}\n`;
181

Callers 1

generateCSVFunction · 0.85

Calls 1

escapeCSVFunction · 0.85

Tested by

no test coverage detected