ai-hero-cli 0.0.14 → 0.0.15
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/bin.cjs +10 -4
- package/package.json +1 -1
package/bin.cjs
CHANGED
|
@@ -68363,10 +68363,11 @@ var runLesson = Effect_exports.fn("runLesson")(function* (opts) {
|
|
|
68363
68363
|
cwd
|
|
68364
68364
|
});
|
|
68365
68365
|
}
|
|
68366
|
-
|
|
68366
|
+
const isExplainer = yield* foundLesson.isExplainer();
|
|
68367
|
+
if (isExplainer && readmeFile) {
|
|
68367
68368
|
yield* logReadmeFile({ readmeFile });
|
|
68368
68369
|
}
|
|
68369
|
-
const lessonNoun =
|
|
68370
|
+
const lessonNoun = isExplainer ? {
|
|
68370
68371
|
successMessage: `Explainer executed! Once you've read the readme and understand the code, you can go to the next exercise.`,
|
|
68371
68372
|
failureMessage: `Looks like the explainer errored! Want to try again?`,
|
|
68372
68373
|
lowercase: "explainer"
|
|
@@ -68625,7 +68626,7 @@ var runLessonSimple = (opts) => Effect_exports.gen(function* () {
|
|
|
68625
68626
|
stdio: "inherit",
|
|
68626
68627
|
cwd
|
|
68627
68628
|
});
|
|
68628
|
-
if (foundLesson.isExplainer() && readmeFile) {
|
|
68629
|
+
if ((yield* foundLesson.isExplainer()) && readmeFile) {
|
|
68629
68630
|
yield* logReadmeFile({ readmeFile });
|
|
68630
68631
|
}
|
|
68631
68632
|
});
|
|
@@ -68776,7 +68777,12 @@ var updateCVM = Command_exports2.make(
|
|
|
68776
68777
|
yield* Effect_exports.log(
|
|
68777
68778
|
"[update-cvm] Successfully updated the CVM"
|
|
68778
68779
|
);
|
|
68779
|
-
})
|
|
68780
|
+
}).pipe(
|
|
68781
|
+
Effect_exports.catchAll((e) => {
|
|
68782
|
+
process.exitCode = 1;
|
|
68783
|
+
return Effect_exports.logError(e);
|
|
68784
|
+
})
|
|
68785
|
+
)
|
|
68780
68786
|
);
|
|
68781
68787
|
var createErrorTracker = () => {
|
|
68782
68788
|
const groupedErrors = {};
|