Skip to content

Commit c986442

Browse files
committed
1 parent 6d86bc4 commit c986442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/parts/debug/browser/baseDebugView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export function renderVariable(variable: Variable, data: IVariableTemplateData,
104104
}
105105

106106
if (variable.value) {
107-
data.name.textContent += variable.name ? ':' : '';
107+
data.name.textContent += (typeof variable.name === 'string') ? ':' : '';
108108
renderExpressionValue(variable, data.value, {
109109
showChanged,
110110
maxValueLength: MAX_VALUE_RENDER_LENGTH_IN_VIEWLET,

0 commit comments

Comments
 (0)