Files
trezor-suite/suite-native/app/scripts/cleanArtifacts.js
Martin Vere Cihlar bd52e2852f feat(e2e-native): enhance logging both on CI and local
minor fix of t3w1 workflow skipping
2025-10-23 14:12:15 -06:00

10 lines
265 B
JavaScript

const fs = require('fs');
const path = require('path');
const dir = path.resolve(__dirname, '../artifacts');
if (fs.existsSync(dir)) {
for (const name of fs.readdirSync(dir)) {
fs.rmSync(path.join(dir, name), { recursive: true, force: true });
}
}