MCPcopy
hub / github.com/github/docs / noTrack

Function noTrack

middleware/learning-track.js:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6export default async function learningTrack(req, res, next) {
7 const noTrack = () => {
8 req.context.currentLearningTrack = {}
9 return next()
10 }
11
12 if (!req.context.page) return next()
13

Callers 1

learningTrackFunction · 0.85

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected