Skip to content

Commit 2ed9b8d

Browse files
committed
Cleanup script removes itself after cleanup
1 parent 830b1c4 commit 2ed9b8d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/cleanup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ const removeTheCleanupFromPackageJsonAndScripts = async () => {
3636
await fs.unlink("scripts/cleanup.ts");
3737
};
3838

39-
removeAllReadmeFromApp(appDirectory).then(() => {
39+
removeAllReadmeFromApp(appDirectory).then(async () => {
40+
await fs.unlink("scripts/README.md");
41+
await fs.unlink("remix/README.md");
4042
console.log(
4143
chalk.green("All README.md files are removed from app directory")
4244
);

0 commit comments

Comments
 (0)