Skip to content

Commit

Permalink
progress-indicator.ts - uses the correct 'current commit' number
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbrokke committed Jul 24, 2019
1 parent 1171649 commit 945016d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface/progress-indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const updateProgressIndicator: UpdateFunction<TextElement> = async ({
}) => {
progressIndicator.setText(
getStatusMessage(
index + 1,
indexesWithSHAs.indexOf(index) + 1,
status === Status.LOG_COMPLETED
? indexesWithSHAs.length
: TOTAL_PLACEHOLDER,
Expand Down

0 comments on commit 945016d

Please sign in to comment.