@fern-api/generator-cli 0.0.6 → 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.
- package/dist/cli.cjs +2 -1
- 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;
|