MCPcopy
hub / github.com/vercel/next.js / fatalMessage

Function fatalMessage

packages/next-codemod/transforms/cra-to-next.ts:15–18  ·  view source on GitHub ↗
(...logs)

Source from the content-addressed store, hash-verified

13
14// log error and exit without new stacktrace
15function fatalMessage(...logs) {
16 console.error(...logs, `\n${feedbackMessage}`)
17 process.exit(1)
18}
19
20const craTransformsPath = path.join('../lib/cra-to-next')
21

Callers 6

constructorMethod · 0.85
transformMethod · 0.85
getPagesDirMethod · 0.85
loadPackageJsonMethod · 0.85
validateAppDirMethod · 0.85
transformerFunction · 0.85

Calls 2

errorMethod · 0.65
exitMethod · 0.45

Tested by

no test coverage detected