From d30d5d2cc06351bb6ea483c52a3a75a62f271f22 Mon Sep 17 00:00:00 2001 From: Boris Besemer Date: Mon, 24 Feb 2025 15:48:32 +0100 Subject: [PATCH] fix(cli): use single input string as argument --- src/bin/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/cli.ts b/src/bin/cli.ts index 64f6930..b633ee8 100644 --- a/src/bin/cli.ts +++ b/src/bin/cli.ts @@ -38,7 +38,7 @@ async function main() { throw new Error("Input directory is required"); } - await processFiles([argv.input], argv.output); + await processFiles(argv.input, argv.output); if (argv.watch) { console.info("Watching for changes..."); @@ -64,7 +64,7 @@ async function main() { // Simple implementation: reprocess all files as to avoid complex cache work // No need to run individual events as we're updating everything anyways - await processFiles([argv.input], argv.output); + await processFiles(argv.input, argv.output); }, // Negative glob to still match our pattern for events { ignore: ["!**/*.{ts,tsx}"] },