Skip to content

Commit

Permalink
Another magic directory to keep, remove packaged dir we don't use
Browse files Browse the repository at this point in the history
  • Loading branch information
simar0at committed Feb 3, 2025
1 parent b5b5078 commit e78b9c1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion heroku-postbuild-cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ await (async () => {
}
}
for await (const entry of glob(".*")) {
if (entry === ".output" || entry === ".heroku") {
if (entry === ".output" || entry === ".heroku" || entry === ".profile.d") {
continue;
}
try {
Expand All @@ -37,4 +37,11 @@ await (async () => {
console.error(error);
}
}
for await (const entry of glob(".heroku/node/include")) {
try {
await rm(entry, { force: true, recursive: true });
} catch (error) {
console.error(error);
}
}
})();

0 comments on commit e78b9c1

Please sign in to comment.