MCPcopy Index your code
hub / github.com/remix-run/react-router / error

Function error

packages/create-react-router/utils.ts:146–149  ·  view source on GitHub ↗
(prefix: string, text?: string | string[])

Source from the content-addressed store, hash-verified

144}
145
146export function error(prefix: string, text?: string | string[]) {
147 log("");
148 logBullet(logError, color.red, color.error, "▲", prefix, text);
149}
150
151export function sleep(ms: number) {
152 return new Promise<void>((resolve) => setTimeout(resolve, ms));

Callers 7

projectNameStepFunction · 0.90
onErrorFunction · 0.90
copyTempDirToAppDirStepFunction · 0.90
gitInitStepFunction · 0.90
installDependenciesFunction · 0.90
updatePackageJSONFunction · 0.90

Calls 2

logBulletFunction · 0.85
logFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…