@fern-api/generator-cli 0.0.24 → 0.0.26
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 +4 -2
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -12614,7 +12614,9 @@ var ClonedRepository = class {
|
|
|
12614
12614
|
}
|
|
12615
12615
|
async commit(message) {
|
|
12616
12616
|
await this.git.cwd(this.clonePath);
|
|
12617
|
-
await this.git.commit(message ?? `Automated commit
|
|
12617
|
+
await this.git.commit(message ?? `Automated commit`, void 0, {
|
|
12618
|
+
"--allow-empty": null
|
|
12619
|
+
});
|
|
12618
12620
|
}
|
|
12619
12621
|
async checkout(branch) {
|
|
12620
12622
|
await this.git.cwd(this.clonePath);
|
|
@@ -13378,7 +13380,7 @@ var ReadmeGenerator = class {
|
|
|
13378
13380
|
writer.writeLine("## Reference");
|
|
13379
13381
|
writer.writeLine();
|
|
13380
13382
|
writer.writeLine(
|
|
13381
|
-
`A full reference for this library is available [here](${referenceFile}).`
|
|
13383
|
+
`A full reference for this library is available [here](${this.readmeConfig.remote?.repoUrl != null ? `${this.readmeConfig.remote.repoUrl}/blob/HEAD/${referenceFile}` : referenceFile}).`
|
|
13382
13384
|
);
|
|
13383
13385
|
writer.writeLine();
|
|
13384
13386
|
return new Block({
|