From d4580975c6b9536baf455ad89ea8c59a2d0976ec Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 9 Mar 2022 22:33:14 +0100 Subject: [PATCH] Use Meow's default string instead. --- source/driftingnebula.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index 6548230..bc60454 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -23,6 +23,7 @@ async function main(): Promise { { flags: { filter: { + default: '', type: 'string', }, includeDefaults: { @@ -46,7 +47,7 @@ async function main(): Promise { d2022_03_07, d2022_03_08, d2022_03_09, - ].filter((project) => project.name.startsWith(cli.flags.filter ?? '')); + ].filter((project) => project.name.startsWith(cli.flags.filter)); for (const { createInputImage,