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

Function warnOnce

packages/vite/helpers/logging.ts:105–109  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

103 return baseLogger.warn(message, options);
104 },
105 warnOnce(message: any) {
106 const msg = String(message || '');
107 if (shouldSuppressViteWarning(msg)) return;
108 return baseLogger.warnOnce(message);
109 },
110 };
111}
112

Callers

nothing calls this directly

Calls 2

StringClass · 0.50

Tested by

no test coverage detected