Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Oh yeah, zero-based indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 3, 2019
1 parent 313f078 commit 84184f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ExtensionHelper {

let removes = extensionsToRemove.map((ext, i) => {
logger.appendLine(
`Removing ${ext.name} (${i} of ${extensionsToRemove.length})`
`Removing ${ext.name} (${i + 1} of ${extensionsToRemove.length})`
);
logger.appendLine("");
this.removeExtension(ext, logger);
Expand Down Expand Up @@ -177,7 +177,7 @@ class ExtensionHelper {

let installs = newExtensions.map((ext, i) => {
logger.appendLine(
`Installing ${ext.name} (${i} of ${newExtensions.length})`
`Installing ${ext.name} (${i + 1} of ${newExtensions.length})`
);
logger.appendLine("");
return this.installExtension(ext, this.settings.getCodeBinary(), logger);
Expand Down

0 comments on commit 84184f6

Please # to comment.