MCPcopy Index your code
hub / github.com/react-native-community/cli / warn

Function warn

packages/cli-tools/src/logger.ts:26–32  ·  view source on GitHub ↗
(...messages: Array<string>)

Source from the content-addressed store, hash-verified

24};
25
26const warn = (...messages: Array<string>) => {
27 if (!disabled) {
28 console.warn(
29 `${pico.yellow(pico.bold('warn'))} ${formatMessages(messages)}`,
30 );
31 }
32};
33
34const error = (...messages: Array<string>) => {
35 if (!disabled) {

Callers

nothing calls this directly

Calls 2

formatMessagesFunction · 0.85
warnMethod · 0.80

Tested by

no test coverage detected