File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ export function reportDocumentStatus(server: OmnisharpServer): vscode.Disposable
156156 }
157157
158158 // show sln-file if applicable
159- if ( 'MSBuild' in info && info . MsBuild . SolutionPath ) {
159+ if ( info . MsBuild && info . MsBuild . SolutionPath ) {
160160 label = basename ( info . MsBuild . SolutionPath ) ; //workspace.getRelativePath(info.MsBuild.SolutionPath);
161161 fileNames . push ( { pattern : info . MsBuild . SolutionPath } ) ;
162162
@@ -166,7 +166,7 @@ export function reportDocumentStatus(server: OmnisharpServer): vscode.Disposable
166166 }
167167
168168 // show .NET Core projects if applicable
169- if ( 'DotNet' in info ) {
169+ if ( info . DotNet ) {
170170 addDnxOrDotNetProjects ( info . DotNet . Projects ) ;
171171 }
172172
You can’t perform that action at this time.
0 commit comments