Skip to content

Commit 302533f

Browse files
committed
strict null trouble
1 parent a5f1ac7 commit 302533f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/codeinset/codeInset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ registerLanguageCommand('_executeCodeInsetProvider', function (accessor, args) {
9494
result.push(item.symbol);
9595
} else if (itemResolveCount-- > 0) {
9696
resolve.push(Promise.resolve(item.provider.resolveCodeInset(model, item.symbol, CancellationToken.None))
97-
.then(symbol => result.push(symbol)));
97+
.then(symbol => result.push(symbol || item.symbol)));
9898
}
9999
}
100100

0 commit comments

Comments
 (0)