Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix remove not working for multiple packages
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Mar 29, 2024
1 parent 21f97cd commit c006325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cmd-fns/remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const removeCmd = async (ctx: AppContext, args: any) => {
.join(" ")}`
console.log(kleur.gray(`> ${cmd}`))

await $`npm remove ${flagsString} ${params.packages
.map((p) => `@tsci/${p.replace(/\//, ".")}`)
.join(" ")}`
await $`npm remove ${flagsString} ${params.packages.map(
(p) => `@tsci/${p.replace(/\//, ".")}`
)}`
}

0 comments on commit c006325

Please sign in to comment.