Skip to content

Commit 2ebf2b6

Browse files
authored
Remove exhaustive check from switch statement
Removed exhaustive check for FuncHostDebugNode.
1 parent 24d396e commit 2ebf2b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/debug/FunctionHostDebugView.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ export class FuncHostDebugViewProvider implements vscode.TreeDataProvider<FuncHo
9494
return getHostTaskTreeItem(element);
9595
default: {
9696
// Exhaustive check: if we reach here, the FuncHostDebugNode union is out of sync with this switch.
97-
const _exhaustiveCheck: never = element;
9897
throw new Error(`Unexpected FuncHostDebugNode kind: ${(element as { kind?: unknown }).kind}`);
9998
}
10099
}

0 commit comments

Comments
 (0)