MCPcopy
hub / github.com/redwoodjs/graphql / getPaths

Function getPaths

packages/cli-helpers/src/lib/paths.ts:13–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * and displays a helpful error message.
12 */
13export function getPaths() {
14 try {
15 return _getPaths()
16 } catch (e) {
17 if (isErrorWithMessage(e)) {
18 console.error(colors.error(e.message))
19 }
20
21 process.exit(1)
22 }
23}

Callers 15

setupHandler.tsFile · 0.90
shared.tsFile · 0.90
getModelNamesFunction · 0.90
addModelsFunction · 0.90
hasAuthPagesFunction · 0.90
generateAuthPagesTaskFunction · 0.90
setupData.tsFile · 0.90
handlerFunction · 0.90
handlerFunction · 0.90
builderFunction · 0.90
handlerFunction · 0.90

Calls 3

_getPathsFunction · 0.85
isErrorWithMessageFunction · 0.70
errorMethod · 0.45

Tested by

no test coverage detected