()
| 23 | }; |
| 24 | |
| 25 | const 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 | |
| 37 | const _watch = () => { |
| 38 | if (_watcher) { |
no test coverage detected