(name)
| 163 | } |
| 164 | |
| 165 | function slugFromFile(name) { |
| 166 | return name.replace(/\.(en\.)?mdx?$/i, ''); |
| 167 | } |
| 168 | |
| 169 | function dirHasMeta(dir) { |
| 170 | return fileExists(path.join(dir, 'meta.json')) || fileExists(path.join(dir, 'meta.en.json')); |
no test coverage detected