express-file-cluster 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ listTaskFiles
4
+ } from "../chunk-3ROVNEDR.js";
2
5
  import {
3
6
  scanDir
4
7
  } from "../chunk-BCSJOPYH.js";
@@ -677,7 +680,7 @@ function tasksCommand() {
677
680
  console.log(pc6.yellow("No tasks directory found."));
678
681
  return;
679
682
  }
680
- const files = fs5.readdirSync(tasksDir).filter((f) => /\.(ts|js)$/.test(f));
683
+ const files = listTaskFiles(tasksDir);
681
684
  if (files.length === 0) {
682
685
  console.log(pc6.yellow("No tasks found."));
683
686
  return;