(req, res)
| 3 | const BUILD_SHA = process.env.BUILD_SHA |
| 4 | |
| 5 | export default function buildInfo(req, res) { |
| 6 | res.type('text/plain') |
| 7 | noCacheControl(res) |
| 8 | if (!BUILD_SHA) { |
| 9 | return res.status(404).send('Not known') |
| 10 | } |
| 11 | return res.send(`${BUILD_SHA}`) |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected