diff --git a/src/cli.ts b/src/cli.ts index 91ae56df..d6468681 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -316,7 +316,7 @@ const tasks = new Listr([ const filtered = functionOptions.filter((o) => ctx.functions.includes(o.value), ); - const packages = filtered.flatMap((f) => f.packages ?? []); + const packages = [...new Set(filtered.flatMap((f) => f.packages ?? []))]; const notInstalled = packages.filter( (p) => !(