Skip to content

Commit 918080c

Browse files
committed
unconditional logging on pruneUnchangedSources
1 parent 7762a41 commit 918080c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

lib/site-dependencies.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,11 @@ async function pruneUnchangedSources (playbook, fullJson) {
244244
}
245245
}
246246

247-
if (prunedBranches) {
248-
console.log(`quick-build: skipping fetch for ${prunedBranches} unchanged branch(es) across ${prunedSources} content source(s)`)
249-
}
247+
const totalBranches = branchChecks.length
248+
console.log(
249+
`quick-build: ls-remote checked ${totalBranches} branch(es); pruned ${prunedBranches} unchanged ` +
250+
`(${prunedSources} content source(s) dropped entirely), kept ${totalBranches - prunedBranches}`
251+
)
250252
playbook.content.sources = keptSources
251253
}
252254

0 commit comments

Comments
 (0)