MCPcopy
hub / github.com/vercel/hyper / checkDeprecatedConfig

Function checkDeprecatedConfig

app/config.ts:25–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23};
24
25const checkDeprecatedConfig = () => {
26 if (!cfg.config) {
27 return;
28 }
29 const deprecated = getDeprecatedCSS(cfg.config);
30 if (deprecated.length === 0) {
31 return;
32 }
33 const deprecatedStr = deprecated.join(', ');
34 notify('Configuration warning', `Your configuration uses some deprecated CSS classes (${deprecatedStr})`);
35};
36
37const _watch = () => {
38 if (_watcher) {

Callers 2

onChangeFunction · 0.85
setupFunction · 0.85

Calls 2

getDeprecatedCSSFunction · 0.85
notifyFunction · 0.70

Tested by

no test coverage detected