MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / create-next-step.ts

File create-next-step.ts

tools/challenge-helper-scripts/create-next-step.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { getLastStep } from './helpers/get-last-step-file-number.js';
2import { insertStep } from './commands.js';
3
4void insertStep(getLastStep().stepNum + 1);

Callers

nothing calls this directly

Calls 2

insertStepFunction · 0.85
getLastStepFunction · 0.85

Tested by

no test coverage detected