MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / warn

Function warn

packages/vite/helpers/logging.ts:100–104  ·  view source on GitHub ↗
(message: any, options?: any)

Source from the content-addressed store, hash-verified

98 return {
99 ...baseLogger,
100 warn(message: any, options?: any) {
101 const msg = String(message || '');
102 if (shouldSuppressViteWarning(msg)) return;
103 return baseLogger.warn(message, options);
104 },
105 warnOnce(message: any) {
106 const msg = String(message || '');
107 if (shouldSuppressViteWarning(msg)) return;

Callers

nothing calls this directly

Calls 3

warnMethod · 0.80
StringClass · 0.50

Tested by

no test coverage detected