(value: unknown)
| 18 | const tightList = (items: string[]) => items.map(item => `- ${item}`).join('\n'); |
| 19 | |
| 20 | const printCode = (value: unknown): string => |
| 21 | Array.isArray(value) |
| 22 | ? `[${value.map(printCode).join(', ')}]` |
| 23 | : typeof value === 'function' |
| 24 | ? value.toString() |
| 25 | : JSON.stringify(value).replace(/([,:])/g, '$1 '); |
| 26 | |
| 27 | for await (const dir of directories) { |
| 28 | if (dir.isDirectory() && !dir.name.startsWith('_')) { |
no test coverage detected