We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f299976 commit 56e5711Copy full SHA for 56e5711
src/telemetry/walkthroughStateProvider.ts
@@ -122,8 +122,9 @@ export class WalkthroughStateProvider implements Disposable {
122
}
123
124
get progress() {
125
- const doneValues = [...filter(this.state.values(), x => x)].length;
126
- return doneValues / Object.keys(WalkthroughContextKeys).length;
+ const allValues = this.state.values();
+ const doneValues = [...filter(allValues, x => x)].length;
127
+ return doneValues / allValues.length;
128
129
130
dispose(): void {
0 commit comments