Skip to content

Commit

Permalink
Pretest cleanup script rm app dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lafkpages committed Oct 27, 2023
1 parent 3177a73 commit f685132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cleanupTestData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { join as joinPaths } from "path";
const ignoreDir = "test/ignore";

for (const file of await readdir(ignoreDir)) {
if (/\.(js|json|txt|extracted)$|^app-.+\.asar/.test(file)) {
if (/^app$|\.(js|json|txt|extracted)$|^app-.+\.asar/.test(file)) {
await rm(joinPaths(ignoreDir, file), {
force: true,
recursive: true,
Expand Down

0 comments on commit f685132

Please sign in to comment.