agentsbestfriend 0.1.2 → 0.1.3
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/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19062,7 +19062,15 @@ async function initCommand(projectPath) {
|
|
|
19062
19062
|
}
|
|
19063
19063
|
const s = clack.spinner();
|
|
19064
19064
|
s.start("Running initial index...");
|
|
19065
|
-
|
|
19065
|
+
let stats;
|
|
19066
|
+
try {
|
|
19067
|
+
stats = await runIndexPipeline(root);
|
|
19068
|
+
} catch (err) {
|
|
19069
|
+
s.stop("Indexing failed");
|
|
19070
|
+
const msg = err instanceof Error ? err.stack ?? err.message : String(err);
|
|
19071
|
+
clack.log.error(msg);
|
|
19072
|
+
process.exit(1);
|
|
19073
|
+
}
|
|
19066
19074
|
s.stop("Indexing complete");
|
|
19067
19075
|
clack.log.info(
|
|
19068
19076
|
[
|