We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6855cc7 commit 2b86e1fCopy full SHA for 2b86e1f
src/makePatch.ts
@@ -82,7 +82,9 @@ export function makePatch({
82
}
83
84
const numPatchesAfterCreate =
85
- mode.type === "append" ? existingPatches.length + 1 : existingPatches.length
+ mode.type === "append" || existingPatches.length === 0
86
+ ? existingPatches.length + 1
87
+ : existingPatches.length
88
const vcs = getPackageVCSDetails(packageDetails)
89
const canCreateIssue =
90
shouldRecommendIssue(vcs) &&
0 commit comments