@fern-api/generator-cli 0.0.5 → 0.0.7

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/dist/cli.cjs +2 -1
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -12039,7 +12039,7 @@ var ClonedRepository = class {
12039
12039
  }
12040
12040
  async readFile({ relativeFilePath }) {
12041
12041
  const absoluteFilePath = import_path6.default.join(this.clonePath, relativeFilePath);
12042
- if (!doesPathExist2(absoluteFilePath)) {
12042
+ if (!await doesPathExist2(absoluteFilePath)) {
12043
12043
  return void 0;
12044
12044
  }
12045
12045
  return await (0, import_promises3.readFile)(absoluteFilePath, "utf-8");
@@ -12911,6 +12911,7 @@ var ReadmeGenerator = class {
12911
12911
  githubRepository: this.readmeConfig.remote.repoUrl,
12912
12912
  installationToken: this.readmeConfig.remote.installationToken
12913
12913
  });
12914
+ console.log("Cloned repository, reading README.md ...");
12914
12915
  return await clonedRepository.getReadme();
12915
12916
  }
12916
12917
  return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/generator-cli",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "files": [
5
5
  "dist"
6
6
  ],