Skip to content

Commit 55aeb3c

Browse files
Update extensions/ql-vscode/src/data-extensions-editor/shared/in-progress-methods.ts
Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com>
1 parent 37c461a commit 55aeb3c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

extensions/ql-vscode/src/data-extensions-editor/shared/in-progress-methods.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ export class InProgressMethods {
1919
packageName: string,
2020
methods: Set<string>,
2121
): InProgressMethods {
22-
const newMethodMap = new Map<string, Set<string>>();
23-
this.methodMap.forEach((value, key) => {
24-
newMethodMap.set(key, new Set<string>(value));
25-
});
22+
const newMethodMap = new Map<string, Set<string>>(this.methodMap);
2623
newMethodMap.set(packageName, methods);
2724
return new InProgressMethods(newMethodMap);
2825
}

0 commit comments

Comments
 (0)