diff --git a/scripts/clean-apps.ts b/scripts/clean-apps.ts index 9db842b45..c73676a42 100755 --- a/scripts/clean-apps.ts +++ b/scripts/clean-apps.ts @@ -20,7 +20,7 @@ async function main() { .filter((file) => file.isDirectory()) .map((dir) => dir.name) - folders.map((app) => gitIgnored.map((f) => rmSync(`${folderName}/${app}/${f}`, { recursive: true, force: true }))) + folders.forEach((app) => gitIgnored.forEach((f) => rmSync(`${folderName}/${app}/${f}`, { recursive: true, force: true }))) } main()