({platforms, debug})
| 5 | import {removeFolder} from './utils.js'; |
| 6 | |
| 7 | async function clean({platforms, debug}) { |
| 8 | const enabledPlatforms = Object.values(PLATFORM).filter((platform) => platform !== PLATFORM.API && platforms[platform]); |
| 9 | for (const platform of enabledPlatforms) { |
| 10 | await removeFolder(getDestDir({debug, platform})); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | const cleanTask = createTask( |
| 15 | 'clean', |
no test coverage detected