MCPcopy Create free account
hub / github.com/adobe/react-spectrum / warn

Function warn

packages/dev/codemods/src/s1-to-s2/src/utils/logger.ts:11–13  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

9}
10
11function warn(message: string): void {
12 console.log(chalk.yellow(`WARNING: ${message}`));
13}
14
15function error(message: string): void {
16 console.error(chalk.red(`ERROR: ${message}`));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected