(filepath)
| 21 | const extensions = ['html', 'css', 'js']; |
| 22 | |
| 23 | async function processAPIBuildModule(filepath) { |
| 24 | const code = await readFile(filepath); |
| 25 | const formatted = await format(code, { |
| 26 | ...options, |
| 27 | filepath, |
| 28 | }); |
| 29 | if (code !== formatted) { |
| 30 | await writeFile(filepath, formatted); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | async function processAPIBuild() { |
| 35 | await processAPIBuildModule('darkreader.js'); |
no test coverage detected