From bd3e9cb3a4b420383429b6821dabc5ffccfadd7b Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Tue, 7 Nov 2023 22:39:41 +0000 Subject: [PATCH] fix: --unstable array join --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index 64315a4..b786225 100644 --- a/mod.ts +++ b/mod.ts @@ -10,7 +10,7 @@ import { bgBrightBlue, bold, gray, italic, underline, yellow } from "https://den const common = is.object({ unstable: is.union([ is.boolean().transform((v) => v ? "--unstable" : ""), - is.array(is.string()).transform((v) => v.length ? v.map((w) => `--unstable-${w}`) : ""), + is.array(is.string()).transform((v) => v.length ? v.map((w) => `--unstable-${w}`).join(" ") : ""), ]).optional(), quiet: is.boolean().optional().transform((v) => v ? "--quiet" : ""), config: is.union([