Skip to content

Commit 41410fb

Browse files
committed
Increment count when skipping pr
1 parent fa3fbe0 commit 41410fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/fix/pnpm-fix.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export async function pnpmFix(
178178
debugFn('miss: 0 open PRs found')
179179
}
180180

181-
let count = isCi ? openPrs.length : 0
181+
let count = 0
182182

183183
let actualTree: NodeClass | undefined
184184
const lockfilePath = path.join(rootPath, 'pnpm-lock.yaml')
@@ -452,6 +452,7 @@ export async function pnpmFix(
452452

453453
if (activeBranches.find(b => b.newVersion === newVersion)) {
454454
debugFn(`skip: open PR found for ${name}@${newVersion}`)
455+
count += 1
455456
continue infosLoop
456457
}
457458

0 commit comments

Comments
 (0)