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 d9feb2bCopy full SHA for d9feb2b
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 = allValues.filter(x => x).length;
127
+ return doneValues / allValues.length;
128
129
130
dispose(): void {
0 commit comments