MCPcopy Create free account
hub / github.com/PatrickJS/awesome-cursorrules / normalizeShellContinuations

Function normalizeShellContinuations

scripts/check-repo-hygiene.mjs:767–769  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

765}
766
767function normalizeShellContinuations(content) {
768 return content.replace(/\\\r?\n[ \t]*/g, " ");
769}
770
771function formatCodePoint(codePoint) {
772 return `U+${codePoint.toString(16).toUpperCase().padStart(4, "0")}`;

Calls

no outgoing calls

Tested by

no test coverage detected