Skip to content

Commit

Permalink
Add more info to progress message
Browse files Browse the repository at this point in the history
Closes GH-7.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
wojtekmaj authored Oct 18, 2023
1 parent 1e7177c commit 3e9859c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion script/crawl.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ while (true) {
break
}

console.log('fetching page: %s, collected total: %s', slice, slice * size)
console.log(
'fetching page: %s, collected total: %s out of %s',
slice,
slice * size,
npmHighImpact.length
)

const promises = names.map(async function (name) {
const result = await pacote.packument(name, {
Expand Down

0 comments on commit 3e9859c

Please sign in to comment.