diff --git a/clean-scripts.config.js b/clean-scripts.config.js index 2357a2e..0825940 100644 --- a/clean-scripts.config.js +++ b/clean-scripts.config.js @@ -58,9 +58,7 @@ module.exports = { test: [ 'tsc -p spec', 'karma start spec/karma.config.js', - 'git checkout demo/vue/screenshot.png', - 'git checkout demo/react/screenshot.png', - 'git checkout demo/angular/screenshot.png', + 'git checkout "demo/**/screenshot.png"', async () => { const { stdout } = await execAsync('git status -s') if (stdout) {