Skip to content

Commit

Permalink
fix(cleanDir): add dist to default dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Dec 18, 2023
1 parent 7f78d64 commit 4a1308f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export async function action(pm: PM) {
// clean cache
await cleanDirs(
[
"dist",
...cacheDirs,
await findUp(["node_modules"]),
],
Expand Down
1 change: 1 addition & 0 deletions src/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const pms = ["npm", "pnpm", "yarn"] as const
export const locks = ["pnpm-lock.yaml", "yarn.lock", "package-lock.json"]

export const cacheDirs = [
"dist",
".nuxt",
".output",
".nitro",
Expand Down

0 comments on commit 4a1308f

Please sign in to comment.