ai-hero-cli 0.0.15 → 0.0.17

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.
Files changed (2) hide show
  1. package/bin.cjs +7 -4
  2. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -68622,10 +68622,13 @@ var runLessonSimple = (opts) => Effect_exports.gen(function* () {
68622
68622
  yield* Console_exports.log(
68623
68623
  util.styleText("bold", `Running ${lesson} ${subfolder}...`)
68624
68624
  );
68625
- ChildProcess.execSync(`pnpm tsx --env-file ${envFilePath} ${mainFile}`, {
68626
- stdio: "inherit",
68627
- cwd
68628
- });
68625
+ ChildProcess.execSync(
68626
+ `pnpm tsx --env-file "${envFilePath}" "${mainFile}"`,
68627
+ {
68628
+ stdio: "inherit",
68629
+ cwd
68630
+ }
68631
+ );
68629
68632
  if ((yield* foundLesson.isExplainer()) && readmeFile) {
68630
68633
  yield* logReadmeFile({ readmeFile });
68631
68634
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hero-cli",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "description": "The CLI used to run exercises for the AI Hero course",
6
6
  "bin": "bin.cjs",