Skip to content

Commit

Permalink
fix(cli): use single input string as argument
Browse files Browse the repository at this point in the history
  • Loading branch information
blurrah committed Feb 24, 2025
1 parent ba283d1 commit b74e117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand All @@ -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}"] },
Expand Down

0 comments on commit b74e117

Please sign in to comment.