@fern-api/generator-cli 0.6.7 → 0.6.8
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/api.js +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -10126,7 +10126,7 @@ var GithubStep = class extends BaseStep {
|
|
|
10126
10126
|
updatedExistingPr: isUpdatingExistingPR
|
|
10127
10127
|
};
|
|
10128
10128
|
if (!this.config.previewMode) {
|
|
10129
|
-
if (
|
|
10129
|
+
if (isUpdatingExistingPR) {
|
|
10130
10130
|
await repository.forcePush();
|
|
10131
10131
|
} else {
|
|
10132
10132
|
await repository.push();
|
package/dist/cli.js
CHANGED
|
@@ -31253,7 +31253,7 @@ var GithubStep = class extends BaseStep {
|
|
|
31253
31253
|
updatedExistingPr: isUpdatingExistingPR
|
|
31254
31254
|
};
|
|
31255
31255
|
if (!this.config.previewMode) {
|
|
31256
|
-
if (
|
|
31256
|
+
if (isUpdatingExistingPR) {
|
|
31257
31257
|
await repository.forcePush();
|
|
31258
31258
|
} else {
|
|
31259
31259
|
await repository.push();
|