diff --git a/extension/bwcontest/src/problemPanel.ts b/extension/bwcontest/src/problemPanel.ts index ede9f28..56d532e 100644 --- a/extension/bwcontest/src/problemPanel.ts +++ b/extension/bwcontest/src/problemPanel.ts @@ -143,7 +143,7 @@ export class BWPanel { vscode.window.showErrorMessage('Already Running'); return; } - const problem = this.problemData.find((p) => (p.id = problemId)); + const problem = this.problemData.find((p) => (p.id === problemId)); if (problem === undefined) { return; }