MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / joinWithFileBoundaries

Function joinWithFileBoundaries

packages/challenge-builder/src/build.ts:60–60  ·  view source on GitHub ↗
(contents: string[])

Source from the content-addressed store, hash-verified

58// an index.ts first-line declaration can be concatenated onto empty/no-newline
59// HTML or CSS, so AST checks fail.
60const joinWithFileBoundaries = (contents: string[]) => contents.join('\n');
61
62function buildSourceMap(challengeFiles: ChallengeFile[]): Source | undefined {
63 // TODO: rename sources.index to sources.contents.

Callers 1

buildSourceMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected